Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Cross-Platform Development => Topic started by: WMCoolmon on August 24, 2005, 01:03:34 am
-
Rather than going through the gazillion-page menu...is there an easy way to get a stack trace, and current variable values for a stack trace? I've gotten fs2_open_d running from within it, but I had to kill it from a console as I haven't been able to run with the -windowed argument. :wtf:
-
What is it that didn't work with -window? I'm using it all the time.
-
"gdb fs2_open_d -windowed"
-
Try "gdb --args fs2_open_d -windowed" instead.
Otherwise gdb will interpret the -windowed as an arg for itself.
-
Well, that's half working. The problem now seems to be that fs2_open grabs control of the keyboard, so I can't alt-tab, and the mouse freezes with it. So every time I hit a segfault or somesuch, I have to kill gdb via one of the ttys and can't get at the console window to try and output a stack trace.
-
Don't forget -nograb.