Keil Logo Arm Logo

µVision4 User's Guide

Breakpoints Dialog

µVision supports complex breakpoints. For example, you may want to halt program execution when a variable contains a certain value. The example shows how to define a breakpoint that triggers when the value 3 is written to current.time.sec.

Breakpoints Dialog

  • Open the dialog Debug - Breakpoints.
  • Enter into the filed Expression: current.time.sec==3.
  • Enable the Write check box (this option specifies that the break condition is triggered only when the value 3 is assigned to the variable).
  • Click the button Define to set the breakpoint.

Perform the following steps to test the breakpoint:

Symbol Description
Reset Button Reset CPU.
Run Button If program execution is halted begin executing the MEASURE program.

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.