Wiki
Clone wikija2-stracciatella / Tips and Tricks for Developers
Tips and Tricks for Developers
Debugging
Debugging segfault on Linux
#!shell # build the project with debugger information included $ make clean $ make all WITH_DEBUGINFO=1 # start GDB and run the game until it crashes $ gdb ./ja2 (gdb) run # inspect the callstack (gdb) backtrace
Updated