Debug Mod On Linux

i Use Centos 6 And Need To know why I Dont have Crash log

I Compile Trinity with [ debug mode]

cmake …/ -DCMAKE_INSTALL_PREFIX=/home/server -DCONF_DIR=/home/server/etc -DWITH_WARNINGS=1 -DWITH_COREDEBUG=1

-make -make install

when my server Crashed i dont have Crash log on my [crashes] File or log file or others…

what is my problem ?

i am new on linux !

You don’t have read the readme 1st thread nor the warning message when enabling [COLOR=rgb(39,42,52)]-DWITH_COREDEBUG=1

[FONT=‘Helvetica Neue’][You don’t have read the readme 1st thread] [/FONT]

sorry i checked it now

[FONT=‘Helvetica Neue’][nor the warning message when enabling -DWITH_COREDEBUG=1[/FONT] ]

you say i use this ?

cmake …/ -DCMAKE_INSTALL_PREFIX=/home/server -DCONF_DIR=/home/server/etc -DWITH_COREDEBUG=1

my problem is : when server Crashed i Dont have crash log in Crashes/logs/etc folders [ Like Windows when crash u have a log file on Crashes folder ]

message(" *** WITH_COREDEBUG - WARNING!“)
message(” *** additional core debug logs have been enabled!“)
message(” *** this setting doesn’t help to get better crash logs!“)
message(” *** in case you are searching for better crash logs use")
message(" *** -DCMAKE_BUILD_TYPE=RelWithDebug")

BIG thanks Aokromes

Questation !?

If your core lags to much change -O0 by -Og or even -O1. Then copy TrinityCore/contrib/debugger/crashreport.gdb to your Trinitycore’s bin directory and create a file with the following lines and make it runable:

cp backtrace.log +%Y%m%d-%H%M%S.log

screen -A -m -d -S tri_world gdb -x crashreport.gdb ./worldserver -c …/etc/worldserver.conf[/CODE]

i creat server/bin/ with this lines .

1-need start ? 2- or just start worldserver ?! ( i test start and see empty screen)

if 1 True ! what command USE for Start this 2 line ?!