Skip to content

Investigate issues with Pascal stack trace #18

Description

@macite

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions