|
µVision® IDE µVision® Debugger | Watch & Call Stack WindowThe µ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.
Click the Watch Window button on the toolbar to toggle the display of the Watch Window.
Local Variables 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 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 StackThe Call Stack tab lists the program call tree. You may double-click on a function to show its invocation. Note
You may change the values of Local Variable and Watch Expression values as follows:
- Single-click on the value you want to change.
- Single-click again or press F2 to enter edit mode.
- Enter the new value.
|
|