From 5967b6c1baf41df897e32a05d5228bb636aacc54 Mon Sep 17 00:00:00 2001 From: bashermens <31279994+hermensbas@users.noreply.github.com> Date: Fri, 30 Jan 2026 09:53:58 +0100 Subject: [PATCH] Update 6_server-start.sh --- script/6_server-start.sh | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/script/6_server-start.sh b/script/6_server-start.sh index 1cde344..e242082 100755 --- a/script/6_server-start.sh +++ b/script/6_server-start.sh @@ -77,23 +77,25 @@ if [[ $DEBUG_MODE -eq 1 ]]; then # via GDB with RelWithDebInfo or Debug build (debuginfod downloads missing symbols real-time) echo "DEBUG MODE: Running worldserver under GDB" + echo "To start: 'run'" echo "When crash type: 'bt full' and then 'thread apply all bt'" WORLD_CMD="cd $ROOT/_server/azerothcore/env/dist/bin && \ - gdb \ - -ex \"set inferior-tty /proc/$$/fd/1\" \ - -ex \"set logging file $GDB_LOG\" \ - -ex \"set debuginfod enabled on\" \ - -ex \"set logging enabled on\" \ - -ex \"set pagination off\" \ - -ex \"set confirm off\" \ - -ex \"set print pretty on\" \ - -ex \"set print elements 0\" \ - -ex \"set print object on\" \ - -ex \"handle SIGSEGV stop print pass\" \ - -ex \"handle SIGABRT stop print pass\" \ - -ex \"handle SIGFPE stop print pass\" \ - -ex \"handle SIGILL stop print pass\" \ - --args ./worldserver -c ../etc/worldserver.conf" + gdb \ + -ex \"set logging file $GDB_LOG\" \ + -ex \"set debuginfod enabled on\" \ + -ex \"set logging enabled on\" \ + -ex \"set pagination off\" \ + -ex \"set confirm off\" \ + -ex \"set print pretty on\" \ + -ex \"set print elements 0\" \ + -ex \"set print object on\" \ + -ex \"handle SIGSEGV stop print pass\" \ + -ex \"handle SIGABRT stop print pass\" \ + -ex \"handle SIGFPE stop print pass\" \ + -ex \"handle SIGILL stop print pass\" \ + -ex \"run\" \ + --args ./worldserver -c ../etc/worldserver.conf" + else # via acore.sh for auto-restart