Keil Logo

Breakpoints

The Breakpoints dialog is always target specific for the currently running debug session.

Current Breakpoints
List of defined breakpoints.
  • Click on the checkbox to enable or disable a breakpoint.
  • Double-click a list item to modify the breakpoint definition.
Expression
Specify a condition for which the breakpoint is triggered. Refer to the Breakpoint window for examples.
Count
Specify how often the expression has to become true before the breakpoint is triggered.
Command
This command is executed when the breakpoint is triggered. µVision executes the command and resumes execution to the target program. Debug or signal functions can be used. To halt program execution from within a µVision function, set the _break_ system variable.
Define
Update or create a breakpoint. This action depends on the breakpoint type.
Kill Selected
Remove the selected breakpoint.
Kill All
Remove all breakpoints in current target.
Close
Close the dialog.

Access

Read
Define an access break that triggers when a memory read access occurs.
Write
Define an access break that triggers when a memory write access occurs.
Size
Specify the memory size that is checked for a read or write access break.
Bytes
Define the memory size in bytes.
Objects
Define the memory size as objects.

Note

  • When an Access Breakpoint (read or write) is set to a peripheral register (SFR) in the Simulator, the breakpoint might trigger even though the application did not access the peripheral register. This happens because the µVision Simulator makes no difference between application-driven and Simulator-internal accesses.
  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.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.