User manual
In-circuit debugging UM0036
230/385 Doc ID 7705 Rev 11
7.2.3 Setting advanced breakpoints
Depending on your target microcontroller and its debug modules, you can set advanced
breakpoints to stop the execution of your application when specific conditions are met.
To set an advanced breakpoint, open the Advanced Breakpoints window by selecting
Debug Instrument>Advanced Breakpoints, or click on the Advanced Breakpoints icon -
- in the Emulator toolbar.
Figure 164. ST7-ICD emulator advanced breakpoints window
In the Advanced Breakpoints window, there is a tab for each debug module present on
your target microcontroller. Figure 164 shows the window for an ST7 MCU with one debug
module. The Hardware Instructions Breakpoints list on the left side of the window lists
any instruction breakpoints that are already placed and limits the number of advanced
breakpoints you can use.
When you open the Advanced Breakpoints window, if you have set instruction breakpoints
that use all of your MCU’s debug modules, STVD prompts you to disable these breakpoints
before you can activate an advanced breakpoint, as shown in Figure 165. The breakpoints
that you can disable are listed in the Hardware Instruction breakpoints field.