我一直在写一个游戏引擎。我一直在取得很大的进步,除非我需要调试任何东西。当我运行GDB时,我通常会得到像这样的堆栈跟踪: Thread 2 received signal SIGABRT, Aborted.
0x00007fffb73f9d42 in ??()
(gdb) bt
#0 0x00007fffb73f9d42 in ??()
#1 0x00007fffb74e75bf in ?
在lldb,我得到help breakpoint set: -a <address-expression> (--address <address-expression>)
Set the breakpoint at the specified address. If the address maps uniquely to a particular binary, then the
我接受了此问题的注释Gfortran does not tell me what sort of FPE it is中给出的建议,即启动GDB,为该行设置断点并检查操作的值。首先,我的程序基于Fortran 77代码(我计划在运行这个“测试用例”之后将其迁移到F90,这是一个理想的CFD数据测试),并在Ubuntu 16.04 LTS上使用NetCDF共享库。我使用gfortran 4.8.5编译