How to hit conditional breakpoint on the second pass?

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

How to hit conditional breakpoint on the second pass?

658 Views
anaseem
Contributor IV

My embedded software is based on Arm Cortex M0+ LPC11E68JBD48E Microcontroller.  Language is C / C++. 

I'm able to hit breakpoint when the value of my local variable is 26.  I need to hit breakpoint after this condition is met and breaking instruction has been skipped a certain number of times.

In "Properties for C / C++ Line Breakpoint" window, there is 'Ignore count' field (see attached).  Is the purpose of this field to specify how many iterations to skip before hitting the breakpoint?  I entered numbers like 2 or 3 but breakpoint was hit the first time?

Labels (1)
Tags (1)
0 Kudos
1 Reply

581 Views
anaseem
Contributor IV

Never mind!  Ignore_Count field of Breakpoint Properties is working correctly.  The problem was that I didn't specify Breakpoint condition properly.  I used Equals(=) which was assigning value to conditional variable when breakpoint instruction was reached.  Instead Equality Operator(==) needs to be specified in the Breakpoint condition field.