Jan Bergquist <[EMAIL PROTECTED]> wrote: > > I am trying to write a Palm program, and now have reached about 14k. > It has been working fine with the gdb debugger, but now, suddenly, I can't > debug anymore: > > An example output when I run normally from the very beginning: (and after > some steps, 'continue' gives similar error lines, and doesn't continue) > > (gdb) s > 230 error = RomVersionCompatible (sysMakeROMVersion(3, 0, 0, 0, > 0), > launchFlags); > (gdb) s > Too many break points, break point not installed > warning: Cannot insert breakpoint 0: > Error accessing memory address 0xbb184: Operation not permitted. > (gdb) s > RomVersionCompatible (requiredVersion=50331648, launchFlags=142) at > Utils.c:102 > 102 UInt32 romVersion = GetRomVersion(); > (gdb) > > Anybody recognize this, and can give me some tips? > > (I don't have to add, that I am very new to this...) > This is usually caused by breakpoints which remain set in the emulator (or device) after a previous run. POSE (and real devices) can only handle 5 normal breakpoints and one soft one. In POSE check the setting of 'Settings->Properties' Closing/Quitting. If you save the session, it will be saved with the breakpoints you set during the session. You can delete the breakpoints via 'Settings->Breakpoints'. On a real device you will need to do a soft reset to get rid of previously existing breakpoints.
Hoppas det hjaelper. Ton van Overbeek -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
