User manual
STM8 C tutorial UM0036
362/385 Doc ID 7705 Rev 11
8. In the Advanced Breakpoints window click on the Synoptic tab. This tab displays a
block diagram of the four levels with the programmed logical links.
9. Check the Enable Configuration checkbox, to activate the breakpoint.
10. Check the Start with Trace On checkbox, this ensures that the trace is turned on when
the application starts.
Figure 294. Synoptic view of advanced breakpoint configuration
11. Click on OK and select Debug>Continue from the main menu.
12. Select View>Watch to display the Watch window if it is not already displayed.
13. In the Watch window watch the value of bugCountDown decrease, after it reaches 0
the variable nbOfTransitions is overwritten. The status bar indicates that a break
has occurred—the advanced breakpoint has worked.
14. Select View>Trace to display the Trace window if it is not already displayed.
LEVEL 2
IF (opcode fetch at timer.c:97)
1. Select Level 2 tab.
2. In First Event, select Event1 then click on the
button [...]
3. In Memory Event, select Opcode Fetch then click
on Add
4. In Opcode Fetch, select timer.c;97 then click OK.
THEN (Goto Level 1); 1. Click on THEN and check Goto Level 1.
LEVEL 3-4 (empty)
Table 86. Advanced breakpoint configuration (continued)
Level Configuration summary How to configure it...