User manual

STM8 C tutorial UM0036
348/385 Doc ID 7705 Rev 11
12.4.1 Set an instruction breakpoint
1. If it is not already open, double-click on timer.c to open the source file in an Editor
window.
2. Select View>Instruction Breakpoints to open the Instruction breakpoints window.
3. In the Editor window, place the cursor on the nbOfTransitions variable (line 133) to
view its current value. A pop-up box is displayed with the value.
Figure 276. View the value of nbOfTransitions
4. Click in the margin of the editor window next to line 133 of the source code. The
instruction breakpoint is indicated by a red dot in the margin. It is also displayed in the
Instruction Breakpoints window.