mirror of
https://github.com/hermensbas/azerothcore_installer.git
synced 2026-02-07 19:21:09 +00:00
Update 6_server-start.sh
This commit is contained in:
@@ -77,11 +77,12 @@ if [[ $DEBUG_MODE -eq 1 ]]; then
|
|||||||
|
|
||||||
# via GDB with RelWithDebInfo or Debug build (debuginfod downloads missing symbols real-time)
|
# via GDB with RelWithDebInfo or Debug build (debuginfod downloads missing symbols real-time)
|
||||||
echo "DEBUG MODE: Running worldserver under GDB"
|
echo "DEBUG MODE: Running worldserver under GDB"
|
||||||
|
echo "When crash type: 'bt full' and then 'thread apply all bt'"
|
||||||
WORLD_CMD="cd $ROOT/_server/azerothcore/env/dist/bin && \
|
WORLD_CMD="cd $ROOT/_server/azerothcore/env/dist/bin && \
|
||||||
gdb \
|
gdb \
|
||||||
-ex \"set logging file $GDB_LOG\" \
|
-ex \"set logging file $GDB_LOG\" \
|
||||||
-ex \"set debuginfod enabled on\" \
|
-ex \"set debuginfod enabled on\" \
|
||||||
-ex \"set logging on\" \
|
-ex \"set logging enabled on\" \
|
||||||
-ex \"set pagination off\" \
|
-ex \"set pagination off\" \
|
||||||
-ex \"set confirm off\" \
|
-ex \"set confirm off\" \
|
||||||
-ex \"set print pretty on\" \
|
-ex \"set print pretty on\" \
|
||||||
@@ -91,10 +92,6 @@ if [[ $DEBUG_MODE -eq 1 ]]; then
|
|||||||
-ex \"handle SIGABRT stop print pass\" \
|
-ex \"handle SIGABRT stop print pass\" \
|
||||||
-ex \"handle SIGFPE stop print pass\" \
|
-ex \"handle SIGFPE stop print pass\" \
|
||||||
-ex \"handle SIGILL stop print pass\" \
|
-ex \"handle SIGILL stop print pass\" \
|
||||||
-ex \"define hook-stop\" \
|
|
||||||
-ex \"bt full\" \
|
|
||||||
-ex \"thread apply all bt\" \
|
|
||||||
-ex \"end\" \
|
|
||||||
--args ./worldserver -c ../etc/worldserver.conf"
|
--args ./worldserver -c ../etc/worldserver.conf"
|
||||||
else
|
else
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user