Tack, Ton, det hj�lper! Thanks for the explanation, it helped! I happened to close the POSE session (without saving), and after that the problem was gone. Now I may even understand why this worked.
In my case I didn't set any breakpoint at all, so I don't quite understand why the problem appeared after stepping through some lines of code, and why it appeared as 'Error accessing memory'. Anyway, I found the Setting/Breakpoints in POSE, and there were still 2 remaining breakpoints which I didn't know about before. Thanks again! .. / Jan Subject: Re: Debugging not working any more ... I'M STUCK From: Ton van Overbeek <[EMAIL PROTECTED]> X-Message-Number: 6 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/
