Versiones comparadas

Clave

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

...

TIPS
1.You can also redirect stdout to some log file. I mean this: <source lang="bash">

Bloque de código
languagebash
gdb trinity-core --batch -x /path/to/gdb-commands > /some/log/file

</source>2.You can add a tail command to gdb-commands file to get the latest lines from your server.log file: <source lang="bash">

Bloque de código
languagebash
shell echo -e "\nSERVER.LOG\n"

...


shell tail -n 50 /path/to/your/server.log/

...

code50 means how much lanes to take from server.log

...

3. You can add -ggdb3 -g3 flags to your CXXFLAGS in order to get more debug output. If you add them there is no need to add --with-debug-info switch in order to get meaningfull backtrace.

...