Should be an easy one:

Breakpoints are stored in the Emulator, and will be saved in a session-file
when saving sessions in the Emulator. Only 5 breakpoints are allowed in
there (I think, correct me if I'm wrong). You'd probably solve your problem
by:

a) Creating a new session-file in the Emulator
b) Not save sessions in the Emulator after you have debugged your
applications.

--
Christian
Falch.net DeveloperStudio for Palm OS
<http://falch.net/>

"Matt West" <[EMAIL PROTECTED]> wrote in message
news:68125@palm-dev-forum...
>
> Hello
>
> I've been using gcc/prc-tools/gdb + pilrc happily for ages. But recently,
I've been unable to debug my program properly.
>
> When I use gdb, it complains about "Too many break points, break point not
installed". At first I thought it was because I'd fiddled with the makefile.
I've gone back to previous versions which I'm sure I had properly debugging,
but they get this error too. So I think I've messed with my environment.
>
> Below is my session with gdb. I'm not a big expert on using gdb, but I
usually set break points on suspicious functions, continue execution to that
break point, then step and examine variable values there to see what's going
on. So before I re-install my prc-tools stuff, has anyone come across this
problem ?
>
> BASH.EXE-2.02$ m68k-palmos-gdb reflector
> GNU gdb 4.18
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
are
> welcome to change it and/or distribute copies of it under certain
conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
details.
> This GDB was configured as
"--host=i686-pc-cygwin32 --target=m68k-palmos"...
> (gdb) target pilot localhost:2000
> Remote debugging under PalmOS using localhost:2000
> Waiting... (Press Ctrl-C to connect to halted machine)
>
> Program received signal SIGTRAP, Trace/breakpoint trap.
> PilotMain (cmd=0, cmdPBP=0x0, launchFlags=142) at reflector.c:2024
> 2024            Err error = errNone;
> (gdb) br HandlePenDown
> Breakpoint 1 at 0x4c422: file reflector.c, line 1722.
> (gdb) c
> Continuing.
> Too many break points, break point not installed
> Cannot insert breakpoint 1:
> Error accessing memory address 0x4c422: Not owner.
> (gdb) s
> Too many break points, break point not installed
> Cannot insert breakpoint 1:
> Error accessing memory address 0x4c422: Not owner.
> (gdb) bt
> #0  PilotMain (cmd=0, cmdPBP=0x0, launchFlags=142) at reflector.c:2026
> #1  0x49776 in start ()
> (gdb)
>
> Thanks
> Matt West.
>
> --
>
> _______________________________________________
> Sign-up for your own FREE Personalized E-mail at Mail.com
> http://www.mail.com/?sr=signup
>
>
> 1 cent a minute calls anywhere in the U.S.!
>
>
http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://
www.getpennytalk.com
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to