GP2X Official Sdk, Devc++ And Debugging.


HexDump

Still Fresh
Joined
Nov 15, 2004
Messages
30
Hi all,

Is there anyway to debug with the official sdk at gamepark site?. I have compiled a little example, I have added the option to debug using gdb (the debugger it seems to be using, option -ggdb), and I have set the option for the linker "Produce debug information" to true, but it doesn´t seems to work. I´m trying it with the windows version of the template the sdk produces when you create a gp2x application.


Thanks in advance,
HexDump.
 
On the windows version you need to add "SDL_NOPARASHUTE" (or something like that) to the SDL_Init flags. That might help.

Not that I'm 100% sure, because I never get the debugger to run right for me.
 
The magic trick i found the other day was to do Execute -> Profile analysis and then say yes. It will set things up correctly for you.
 
Back
Top