Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1. Before you start debugging trinity you need to have ensured that it is compiled with debug information . To build trinity with debug info just add -DWITH_COREDEBUG=1 to your options when running cmake. Then compile and install trinity as usual.
If you want really full debug, without optimization, you can you must pass -DCMAKE_BUILD_TYPE=Debug as a cmake option and compile. This however might be particulary slow and take a huge amount of ram while compiling.

...

Code Block
gdb trinity-core --batch -x /path/to/gdb-commands

...


5. I assume you didn't get this and need more assistance, so i put this together for you

...