Keil Logo


Syntax Description
WatchSet windownr, expression, base Defines a watchpoint expression to add to one of the Watch window pages. The base parameter specifies the number base to use (10 or 16).

The WatchSet command lets you define watchpoint expressions to display in the Watch window. The Watch window is updated after each program execution command such as Go, Ostep, Pstep, and Tstep.

The parameter windownr specifies the page in the Watch window. You may optionally specify the number base (10 or 16) in which to display the value of the expression.

>WS interval,0x0a LINE
>WS save_record[0].analog
>WS save_record[0]
>WS sindex
  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.