You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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.
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)
The text was updated successfully, but these errors were encountered: