mirror of
https://github.com/hermensbas/azerothcore_installer.git
synced 2026-01-13 00:28:33 +00:00
Update 6_server-start.sh
This commit is contained in:
@@ -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\" \
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user