You are not logged in.
Pages: 1
Hi,
First I just want to say that I love this emulator! Been developing on DS, and this is the emu of choice! I especially like it for the gdb stub feature, which I find indispensable.
I've gotten many gdb debugger IDEs working so far: Insight, eclipse, CodeLite, and WinGDB. Some of these debuggers are better than others in terms of exposing or implementing certain gdb features; however, one thing does not work across all debuggers: setting breakpoints while the rom is executing. In fact, I think this generalizes to just being able to stop/pause execution at any point, which also doesn't work. I'm thinking this is a problem with the gdb stub implementation, since it doesn't work on any of the debuggers I've tried (nor from straight commandline gdb). Is this something you're aware of?
Thanks!
Offline
Thanks for the info, I think none of the desmume developers use the gdb stub so we're not well acquainted with the ins and outs but I was going to become the master of it after the next release because the gdb stub is getting in my way and I need to clean it up, but also make sure I don't break it. This will be a good task to tackle while learning it. By the way, it would behoove you to make sure that the latest svn builds still work with the gdb stub--itd be a shame if we released a version that accidentally had it broken.
Offline
I don't mind making sure it still works, just let me know when would be a good time to test it out. So I presume that in cleaning up the code, you'll not only make sure it still works, but try to address the problem I brought forth?
It's a shame that none of you use this feature as I think it's one of the best features of desmume. I guess it makes sense, though, since it's most useful for DS developers, not emu developers Thanks for the quick response!
Offline
It is a good time to test it out.
Offline
Btw, I'm guessing I need to sync the full source and build it to test the latest version? Or is there some way to get just the latest binaries?
Offline
Ok, downloaded and built DEVELOPER and GDB_STUB debug 2005 version (windows), tested the gdbstub stuff, and it seems to be working the same as 0.9.4-win32.
Offline
thanks. you shouldnt need to use a debug build, but then, breakpoints in the emulator can sometimes be as useful as breakpoints in your code.
Offline
Yeah, I wanted to play around with the gdbstub code to see if I could understand why it wasn't working when I would set a breakpoint or try to break from within my debugger. It seems that breaking or setting a breakpoint while the game is running doesn't send any packets to the gdbstub, so this is not necessarily a problem in the emulator. I'll keep digging.
Offline
Pages: 1