Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging support? #74

Open
Starpelly opened this issue Aug 30, 2024 · 0 comments
Open

Debugging support? #74

Starpelly opened this issue Aug 30, 2024 · 0 comments

Comments

@Starpelly
Copy link

The Pokémon Emerald decomp, which I believe is similar to this one, supports debugging with the mGBA emulator. After a few hours of experimenting, I managed to get mGBA running, but the main module fails to link properly, probably because the debug information isn't building, or the debugger can't read them if they exist.

image

After investigating, I suspect the issue might be related to a custom makefile flag in the Pokémon Emerald decomp project. Specifically, the 'modern' build option uses GCC instead of agbcc, but this is just a theory and I'm not entirely sure.

You can read the guide to debug the Pokemon Emerald decomp here, I've tried it and I do confirm it works. I would appreciate any help here.
https://github.com/pret/pokeemerald/wiki/Debugging-using-gdb-(Windows,-WSL2,-Visual-Studio-Code-mGBA)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant