Quick Watch Window

The QuickWatch window works in the same way as the Watch window except that you can add only one variable to the QuickWatch window. When you are in break mode, you right-click a variable in the debugger and select QuickWatch from the context menu. This action displays the variable in the QuickWatch dialog box. If you want to evaluate the values at another time, add the variable or expression to the Watch window. Figure 2.40 shows the value of the NumberFormat property for the variable myRange in the QuickWatch window.

You can also obtain information about a variable by holding your mouse cursor over the variable. A DataTips window displays the value of each member of the variable, as shown earlier in Figure 2.32.

Figure 2.40. Evaluating a variable in the QuickWatch window
0 0

Post a comment