swingame icon indicating copy to clipboard operation
swingame copied to clipboard

Investigate issues with Pascal stack trace

Open macite opened this issue 11 years ago • 0 comments

Crashing prints a stack trace, but (on MacOS at least) it appear the stack trace does not match the cause of the issue. This appears to be related to the build script as even a non-swingame code compiled with that script fails to provide the correct stack trace.

Values from the stack trace should be able to be used with gbd to get line information.

Script to get line info follows. It requires the user to paste in the stack trace:

sed -e 's/^  \$/info line *0x/' > trace.gdb
gdb $EXE_PATH -batch -x trace.gdb

macite avatar Oct 08 '13 01:10 macite