gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Source-level debugger?

#151843 - nczempin - Wed Mar 05, 2008 9:54 pm

Next in my list after the profiler:

A decent source-level debugger.

It seems that for serious NDS homebrew coding, no$gba-debug is the way to go (seems an incredible value at 15 $!).

Does it support source-level debugging? I haven't yet tried any of the other emus (just the free no$), do the veterans have any other recommendations?

#151844 - silent_code - Wed Mar 05, 2008 10:00 pm

sorry for being offtopic... i'm kind of in the mood right now:
guess what? no$ is from germany! (just goofing around) ;^p

that said, i have read that some (other) emulator (dsemume? ideas?) supports (srclvl?) debugging, but i haven't done any serious nds debugging myself.

#151858 - SiW - Thu Mar 06, 2008 1:18 am

The no$gba source-level debugger is only available with the full commercial ($1750) license.

#151876 - tempest - Thu Mar 06, 2008 9:03 am

I'm no veteran in any way, but emulator desmume with gdb stub, coupled with insight debugger, might be of your interest. Please read Debugging in emulators to get started.

#151883 - nczempin - Thu Mar 06, 2008 11:11 am

SiW wrote:
The no$gba source-level debugger is only available with the full commercial ($1750) license.


umm, okay, so what benefit does the $15 version offer? Sorry for asking all this in the forum when I could presumably find out in other ways...

#151888 - tempest - Thu Mar 06, 2008 11:34 am

nczempin wrote:
umm, okay, so what benefit does the $15 version offer? Sorry for asking all this in the forum when I could presumably find out in other ways...


It offers asm level stepping, full register and machine state inspection, and a really good debugger (with breakpoints on memory/registers read/write, etc...).

For $15 it's a pretty good deal, I've bought it myself and I'm really satisfied. You can learn more here, and read the compulsory comparison table between versions.

#151890 - nczempin - Thu Mar 06, 2008 12:03 pm

tempest wrote:
nczempin wrote:
umm, okay, so what benefit does the $15 version offer? Sorry for asking all this in the forum when I could presumably find out in other ways...


It offers asm level stepping, full register and machine state inspection, and a really good debugger (with breakpoints on memory/registers read/write, etc...).

For $15 it's a pretty good deal, I've bought it myself and I'm really satisfied. You can learn more here, and read the compulsory comparison table between versions.


Ah, I see.
I guess the two features I was looking for will set me back $750 each. Not an option right now, since I'm just doing homebrew for now. I will definitely get the $15 version though.

In the meantime, which (are there several?) of the open-source ds emus show the most promise and would benefit most from a motivated developer who would like to add the functionality himself?

#151895 - masscat - Thu Mar 06, 2008 12:50 pm

nczempin wrote:
tempest wrote:
nczempin wrote:
umm, okay, so what benefit does the $15 version offer? Sorry for asking all this in the forum when I could presumably find out in other ways...


It offers asm level stepping, full register and machine state inspection, and a really good debugger (with breakpoints on memory/registers read/write, etc...).

For $15 it's a pretty good deal, I've bought it myself and I'm really satisfied. You can learn more here, and read the compulsory comparison table between versions.


Ah, I see.
I guess the two features I was looking for will set me back $750 each. Not an option right now, since I'm just doing homebrew for now. I will definitely get the $15 version though.

In the meantime, which (are there several?) of the open-source ds emus show the most promise and would benefit most from a motivated developer who would like to add the functionality himself?

Desmume supports full source level debugging of both the ARM9 and the ARM7 via a GDB stub (I was the person who put it in there but I have not done any work on Desmume for a long time so I do not know what its current state - I use version 0.7.2 for my development) so it can talk to any debugger that support GDB's remote debugging. It supports most of GDB features (breakpoints, watchpoint and the like).

I think the Desmume is the only open source NDS emulator so that would be your choice if you fancy helping with its development.