From c4efbde132af6350df069213c809b61ec1e5921c Mon Sep 17 00:00:00 2001 From: bashermens <31279994+hermensbas@users.noreply.github.com> Date: Sat, 10 Jan 2026 21:43:36 +0100 Subject: [PATCH] Update 6_server-start.sh --- script/6_server-start.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/script/6_server-start.sh b/script/6_server-start.sh index 9f4abf8..b14a79c 100755 --- a/script/6_server-start.sh +++ b/script/6_server-start.sh @@ -73,12 +73,15 @@ AUTH_CMD="${ROOT}/_server/azerothcore/acore.sh run-authserver" if [[ $DEBUG_MODE -eq 1 ]]; then # via GDB with RelWithDebInfo or Debug build echo "DEBUG MODE: Running worldserver under GDB" - WORLD_CMD="gdb -ex 'set logging file $GDB_LOG' \ - -ex 'set logging enabled on' \ - -ex 'run' \ - -ex 'bt full' \ - -ex 'quit' \ - --args $ROOT/env/dist/bin/worldserver" + WORLD_CMD="gdb -ex \"set logging file $GDB_LOG\" \ + -ex \"set logging enabled on\" \ + -ex \"set pagination off\" \ + -ex \"set confirm off\" \ + -ex \"run -c $ROOT/etc/worldserver.conf\" \ + -ex \"bt full\" \ + -ex \"info threads\" \ + -ex \"thread apply all bt full\" \ + --args $ROOT/_server/azerothcore/env/dist/bin/worldserver" else # via acore.sh for auto-restart WORLD_CMD="$ROOT/_server/azerothcore/acore.sh run-worldserver"