Update 6_server-start.sh

This commit is contained in:
bashermens
2026-01-30 09:37:05 +01:00
committed by GitHub
parent abc34e5eba
commit 1ecd9fe16f

View File

@@ -78,7 +78,8 @@ 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"
WORLD_CMD="cd $ROOT/_server/azerothcore/env/dist/bin && \ WORLD_CMD="cd $ROOT/_server/azerothcore/env/dist/bin && \
gdb -ex \"set logging file $GDB_LOG\" \ gdb \
-ex \"set logging file $GDB_LOG\" \
-ex \"set debuginfod enabled on\" \ -ex \"set debuginfod enabled on\" \
-ex \"set logging on\" \ -ex \"set logging on\" \
-ex \"set pagination off\" \ -ex \"set pagination off\" \
@@ -86,16 +87,15 @@ if [[ $DEBUG_MODE -eq 1 ]]; then
-ex \"set print pretty on\" \ -ex \"set print pretty on\" \
-ex \"set print elements 0\" \ -ex \"set print elements 0\" \
-ex \"set print object on\" \ -ex \"set print object on\" \
-ex \"catch signal SIGSEGV\" \ -ex \"handle SIGSEGV stop print pass\" \
-ex \"catch signal SIGABRT\" \ -ex \"handle SIGABRT stop print pass\" \
-ex \"catch signal SIGFPE\" \ -ex \"handle SIGFPE stop print pass\" \
-ex \"catch signal SIGILL\" \ -ex \"handle SIGILL stop print pass\" \
-ex \"run -c ../etc/worldserver.conf\" \ -ex \"define hook-stop\" \
-ex \"bt full\" \ -ex \"bt full\" \
-ex \"info locals\" \ -ex \"thread apply all bt\" \
-ex \"info threads\" \ -ex \"end\" \
-ex \"quit\" \ --args ./worldserver -c ../etc/worldserver.conf"
--args ./worldserver"
else else
# via acore.sh for auto-restart # via acore.sh for auto-restart