Quickwatch is a dialog box that gives you a fast way to view variables and expressions. Unlike Watch Expressions, which are stored in the Watch window, the values of Quickwatch variables and expressions appear only in the Quickwatch dialog box. (See Figure 5.5.) This is useful in exploratory debugging where you are checking a number of variables that are suspect.
·To use Quickwatch:
1.With the breakpoint in the About procedure, run the GENERIC program, open the Help menu of the Generic Sample Application, and select the About Generic command.
2.Move the insertion point in the source file to the message variable in the About function.
3.From the Debug menu, choose Quickwatch. You can also use the Quickwatch button on the Toolbar.
4.Choose Cancel to close the Quickwatch dialog box.
The Quickwatch dialog box also lists commands that you can use to evaluate expressions, add variables and expressions to the Watch Expression list, contract and expand structures, and modify values. See page 110 in the reference section for more information about these commands.