Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

...

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.

...

Bloque de código
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

...