Keil™, An ARM® Company

µVision® User's Guide

WatchSet

SyntaxDescription
WatchSet windownr, expression, baseDefines 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.

Example
>WS interval,0x0a LINE
>WS save_record[0].analog
>WS save_record[0]
>WS sindex