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 > best debugger these days?`

#166952 - Holland - Tue Feb 24, 2009 6:41 pm

Last time I checked, Martin was still MIA. Has any other debugger emerged as an amazing solution? I never got a chance to buy a copy from Martin. :(

#166954 - Pete_Lockwood - Tue Feb 24, 2009 8:28 pm

Good qn. Coding without a debugger feels like I've gone back to the dark ages of BASIC.
_________________
It's not an illusion, it just looks like one.

#166957 - a128 - Tue Feb 24, 2009 9:21 pm

printf is your friend.

defaultExceptionHandler() is good too.

#166958 - Pete_Lockwood - Tue Feb 24, 2009 9:28 pm

a128 wrote:
printf is your friend.


I'm well aware. Those are the dark ages I was referring to :D
_________________
It's not an illusion, it just looks like one.

#166963 - Holland - Tue Feb 24, 2009 10:32 pm

Pete_Lockwood wrote:
a128 wrote:
printf is your friend.


I'm well aware. Those are the dark ages I was referring to :D


haha..my thoughts exactly!

#166966 - sajiimori - Tue Feb 24, 2009 10:54 pm

For gameplay code, my best suggestion is to maintain a Win32 port of your engine, and debug in Visual Studio. You can't beat pressing F5 and having your game built and running in a source-level debugger within a couple seconds.

For engine code... well, there's always No$Gba, but that costs money, and it doesn't have source-level debugging...

#166968 - Holland - Tue Feb 24, 2009 11:21 pm

sajiimori wrote:
For engine code... well, there's always No$Gba, but that costs money, and it doesn't have source-level debugging...


There is no more No$Gba...at all. Martin (the creator of the software and the ONLY person that accepts money and hands out the software) has gone MIA. That's the precise reason this thread was created. :)

#166972 - albinofrenchy - Wed Feb 25, 2009 3:34 am

There is a build around of desmume that interacts very well with gdb. I found it somewhere through these forums. Have you tried that?

#166973 - zazery - Wed Feb 25, 2009 4:23 am

It's not out yet but once remote GDB debugging is released for the DSerial Edge it will be the best option.

#167025 - Holland - Thu Feb 26, 2009 8:08 pm

zazery wrote:
It's not out yet but once remote GDB debugging is released for the DSerial Edge it will be the best option.


Yeah..I saw on electrobee that it mentioned debugging capability wasn't out yet. When is that supposed to be released?

Something about wifi debugging doesn't seem right...lol. Call me old-school, but connecting straight into the PC and debugging while it's running on the DS is EXACTLY what I would like. Debugging on emulation works okay, but I'd rather see it from the hardware's perspective.

#167031 - albinofrenchy - Thu Feb 26, 2009 11:23 pm

Probably a matter of preference, but I actually prefer the emulation debugging. I'd worry on hardware debugging(for normal hardware; I'm sure special debug DS's don't have this problem) about the side affects of whatever program is hosting my program on the ds. Specifically with things like memory and what not. Preferably I'd have that debugger be the GDB debugger; its emulation is near perfect; but desmume has gotten me out of some jams.