Update 6_server-start.sh

This commit is contained in:
bashermens
2026-01-10 22:47:59 +01:00
committed by GitHub
parent 558e5f0c65
commit ea1b6858d5

View File

@@ -78,16 +78,22 @@ if [[ $DEBUG_MODE -eq 1 ]]; then
# via GDB with RelWithDebInfo or Debug build # via GDB with RelWithDebInfo or Debug build
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 logging enabled on\" \ -ex \"set logging on\" \
-ex \"set pagination off\" \ -ex \"set pagination off\" \
-ex \"set confirm off\" \ -ex \"set confirm off\" \
-ex \"run -c ../etc/worldserver.conf\" \ -ex \"set print thread-events on\" \
-ex \"bt full\" \ -ex \"set print object on\" \
-ex \"info threads\" \ -ex \"catch signal SIGSEGV\" \
-ex \"thread apply all bt full\" \ -ex \"catch signal SIGABRT\" \
-ex \"quit\" \ -ex \"catch signal SIGFPE\" \
--args ./worldserver" -ex \"catch signal SIGILL\" \
-ex \"run -c ../etc/worldserver.conf\" \
-ex \"thread apply all bt full\" \
-ex \"info threads\" \
-ex \"thread apply all info locals\" \
-ex \"quit\" \
--args ./worldserver"
else else
# via acore.sh for auto-restart # via acore.sh for auto-restart