Hello
Basically number of breakpoints available depends on the number of hardware breakpoint available on the chip.
In case there is not enough resource (HW breakpoints registers) available to set all breakpoint, the debugger would report that right away. It will not ignore the breakpoint. It will just tell you there are
too many breakpoints defined in the application.
Are you sure there is code generated for the second location where you tried to set a Breakpoint?
To check that:
- Start the IDE
- Set your breakpoints as usual
- Select Source -> Marks
There will be marks in the Source window, at each location where a breakpoint can be set.
Is there a mark in front of the instruction where you try to set the breakpoint?
Are you sure the instruction is executed?
CrasyCat