Keil Logo
This feature works with...
ARM C166 C251 C51 Eval

Watch & Call Stack Window

The µVision debugger provides a Watch and Call Stack Window that shows:

  • The values of local variables,
  • The values of watch expressions (in two windows),
  • The call stack for your program.

Watch Window Button Click the Watch Window button on the toolbar to toggle the display of the Watch Window.

Local Variables

Watch Window - Locals Tab The Locals tab displays the local variables for the current function. As your program executes into other functions, the contents of this tab change to reflect the new local variable set.

Watch Expressions

Watch Window - Watch #1 Tab The Watch #1 and Watch #2 expression tabs are available for user-customized watch lists. You may add any program variable or data object into these tabs.

Structures, unions, and all arrays are displayed in entirety and may be expanded and collapsed as required.

Call Stack

The Call Stack tab lists the program call tree. You may double-click on a function to show its invocation.

Notes Note

You may change the values of Local Variable and Watch Expression values as follows:

  1. Single-click on the value you want to change.
  2. Single-click again or press F2 to enter edit mode.
  3. Enter the new value.
  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.