Files
TrinityCore/contrib/debugger
Shauren 3a2eb806f8 Misc: Made gdb crash reporting script more automation friendly
* Don't block on successful exit
* Generate timestamped filenames to avoid overwriting old logs

(cherry picked from commit 58d3f17430)
2022-01-02 16:32:47 +01:00
..

The included crashreport.gdb allows for semiautomated hunting of 
crashes. The crashlog-file will be named backtrace.log and contains all 
the commands required to partially automate a crashlog-creation with the 
proper information.

Usage: gdb -x crashreport.gdb <executable file>

For creating an efficient backtrace, use -DCMAKE_BUILD_TYPE=Debug as a 
parameter to CMake during configuration - this increases the filesize, 
but includes all the needed information for a decent and efficient 
crashreport.

-- Good luck, and happy crashhunting.