User manual
STM8 C tutorial UM0036
350/385 Doc ID 7705 Rev 11
12.4.3 Set a condition on an instruction breakpoint
1. In the Instruction Breakpoints window double-click on the Condition field and enter
nbOfTransitions ==60 at the flashing cursor.
Figure 279. Setting condition
2. Click on Debug>Continue to continue execution of the application.
3. In the Editor window place the cursor over the nbOfTransitions variable. Its value is
now 60. The program stopped after the condition was found to be true, that is
nbOfTransitions ==60.
Figure 280. Condition met