blocksds / sdk

Main BlocksDS SDK repository
https://blocksds.github.io/docs/
155 stars 8 forks source link

docs: Document ways of debugging homebrew. #154

Closed asiekierka closed 1 month ago

asiekierka commented 4 months ago

In roughly this order:

AntonioND commented 1 month ago

I've added a new page about this:

https://github.com/blocksds/sdk/commit/6e9dd25b12dd54c85607dd35843ee6eac0afc913

https://blocksds.github.io/docs/usage/debugging/

This is still missing a section about how to use GDB to debug with melonDS.

AntonioND commented 1 month ago

I've also made assert() work on both the ARM9 and ARM7 work: https://github.com/blocksds/libnds/commit/bf3ef5be198a7e9e1c084ed5e4ace4307cb8a6e2

AntonioND commented 1 month ago

We need to mention the stack protector too.

EDIT: Added here: https://github.com/blocksds/sdk/commit/46dd429d42d79ba9584070d9e28dcb75eb1a828f

AntonioND commented 1 month ago

And this adds the last section, GDB with melonDS I haven't bene able to get it to work, I will try again later, but this is the general idea: https://github.com/blocksds/sdk/commit/d0974d093cad023a111b5949c37779d3c0a56cf3

AntonioND commented 1 month ago

I've also tried GDB debugging with DeSmuME, and that works: https://github.com/blocksds/sdk/commit/2978d5f39ef0c123e1931c9d82330931cfa3cc68