Use this dialog box to evaluate any expression to view the values of local variables for the current method, class variables, and method calls. You open this dialog box by starting a debugging session and choosing Run > Evaluate Expression (Ctrl-F9) from the main window.
If you open the Sources window when a debugging session is running, it closes automatically when you end the debugging session. If you open the window when no debugging session is running, it stays open until you close it.
To use the dialog box, type the expression in the Expression drop-down and click Evaluate. The result is Shown in the Results window. You can set a watch for the Expression by clicking the Watch button. The watch is added to the Watches window.
Notes: