potinho
Advanced OT User
How to open my start.sh (who contains auto restarter) with GDB to get debug files? Im gotting crashes and need this, already installed GDB on ubuntu 18. I start my server with "start.sh", need to start with GDB.
ulimit -c unlimited
gdb to analyze crash reason. To make information in gdb readable for C++ programmer, you need to compile TFS using:cmake -D CMAKE_BUILD_TYPE=RelWithDebInfo ..
cmake ..)how to do it with screen? to close puttyCode:#!/bin/bash ulimit -c unlimited while true; do ./tfs --log-file "output.txt" "error.txt"; done
@potinho @secondlife@Gesior.pl
Is there an equivalent for this 'CMAKE_BUILD_TYPE=RelWithDebInfo' tag in TFS 0.4?
like an --enable-debug --enable-server-diag?
Thanks!
-g with -ggdb3-Ofast with -O0