From de0b7397521978fba564dd0f69a50adf614c70eb Mon Sep 17 00:00:00 2001 From: bashermens <31279994+hermensbas@users.noreply.github.com> Date: Sat, 10 Jan 2026 22:35:01 +0100 Subject: [PATCH] Update 6_server-start.sh --- script/6_server-start.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/script/6_server-start.sh b/script/6_server-start.sh index 70ac5cc..9e9a100 100755 --- a/script/6_server-start.sh +++ b/script/6_server-start.sh @@ -78,17 +78,17 @@ if [[ $DEBUG_MODE -eq 1 ]]; then # Run GDB directly in current terminal (no tmux) and with RelWithDebInfo or Debug build echo "DEBUG MODE: Running worldserver under GDB" - cd $ROOT/_server/azerothcore/env/dist/bin && \ - gdb -ex \"set logging file $GDB_LOG\" \ - -ex \"set logging enabled on\" \ - -ex \"set pagination off\" \ - -ex \"set confirm off\" \ - -ex \"run -c ../etc/worldserver.conf\" \ - -ex \"bt full\" \ - -ex \"info threads\" \ - -ex \"thread apply all bt full\" \ - -ex \"quit\" \ - --args ./worldserver + cd "$ROOT/_server/azerothcore/env/dist/bin" || exit 1 + gdb -ex 'set logging file '"$GDB_LOG" \ + -ex 'set logging enabled on' \ + -ex 'set pagination off' \ + -ex 'set confirm off' \ + -ex 'run -c ../etc/worldserver.conf' \ + -ex 'bt full' \ + -ex 'info threads' \ + -ex 'thread apply all bt full' \ + --args ./worldserver + else # via acore.sh for auto-restart