You are not logged in.
Pages: 1
I had some time to look into the issue I was having--I think the problem is Insight. I tested a simple while (true) {...} loop, and I was almost never able to break execution without Insight losing the connection. I then tried it with the GDB console, and was able to break and resume without problems.
Anyways, thanks for your help, masscat. The stub has been extremely useful for me.
Well, I'm stuck with what came with devkitpro, which is version 6.5. I downloaded Insight 6.6, but building for a windows host didn't work.
Thanks for this! I used the Windows build and it worked very well. I had one issue, though. I was trying to track down a crash bug in my program, so I ran it with the debugger. When it reached the crash, Insight lost connection with Desmume and hung. I couldn't find where in the code the crash was occurring until I stepped through line by line.
The crash turned out to be because of a bad function pointer. You can easily reproduce the case with something like this:
void (*foo)(int) = NULL;
foo(2);
Pages: 1