Error setting breakpoint

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error setting breakpoint

2,407 Views
doggins
Contributor I
I'm single stepping through PPC assembler using CW 8.7
I can initially (after a hard reset) set breakpoints, run to cursor etc, but frequently reach a state where if I try to  do either I get "Error setting breakpoint" with no further clue what is wrong. Seem to be able to clear this by stopping and restarting CW.
 
Does anyone know what this message actually means (i.e. WHY cant breakpoints be set ?)
 
Thanks
Labels (1)
0 Kudos
2 Replies

290 Views
CrasyCat
Specialist III
Hello
 
Are you debugging code located in Flash?
There is a limitation in the number of breakpoints you can set in flash.
This is usually limited by the number of hardware breakpoints available on the chip.
 
 
CrasyCat
0 Kudos

290 Views
jtjans
Contributor I
I have trouble with bkpts also. Running a HC9S08GT32 with codewarrier5.1 and P&E multilink.  Sometimes the program stops and sometimes it doesn't. Am using only one breakpoint at a time.  Also, sometimes when I delete a breakpoint, it continues to stop at the point where the brkpnt was.  The only way to clear it is to restart the debugger.  It is inconsistant and really makes debugging difficult. Any ideas?
Jack
0 Kudos