Viewing and modifying program elements

From m204wiki
Jump to navigation Jump to search

The Debugger Client provides two principal ways of examining the values of individual items in your source code:

  • The Watch Window shows you the current values of as many items as you add to the window. If these values are changed by your code, their updated values are shown in the Watch Window the next time the Debugger execution pauses.
  • The quick display Value window shows you the current value of the single item you are selecting by a right click on the line of code that contains it. Alternatively, the Client Value button displays in a Value window the value of the item you explicitly enter in the text box above the Watch Window.

You can use either of these approaches for most of the code elements whose values are viewable.

The following are described:

Watching program data items
Displaying temporarily the value of a program data item
Setting the value of a variable