When in debug mode interruption, we can quickly view the values of variables and expressions we want to observe through the QuickWatch window
turn on
- Via the menu bar
- Right-click mode of code window
- Shortcut key
Shift + F9
Window use
- Expression
Here, you can enter a computable expression, or you can select the expression you have observed before. - ReeValuate
recalculates, enter the expression and click this button to calculate - Add Watch
adds the entered expression to the "Watch Window" - The Value list
displays the expression value information. Can display complex structures.
If it is a variable, you can double-click the Value column to modify the variable value
-
Value list right-click menu
The menu items operate the same as other observation windows
Explanation
This window can only observe one expression at a time. And this is a modal dialog. Can display the value of a variable at a specific time