226 Part II Programming Fundamentals
To Do This
Display a Watch window In debugging mode, click the Debug menu, point to Windows,
point to Watch, and then click the window.
Display HTML, XML, or
dataset information during
a debugging session
Click the visualizer icon in an Autos window, a Watch window, a
Locals window, or a DataTip window during a debugging session.
Open the Immediate
window
Click the Debug menu, point to Windows, and then click
Immediate.
Run a command in the
Visual Studio IDE from the
Command window
At the > prompt, type the name of the command, and then press
ENTER. For example, to save the current project, type File.SaveAll,
and then press ENTER.
Switch to the Command
window from the
Immediate window
Type >cmd, and then press ENTER. To switch back to the
Immediate window, type immed, and then press ENTER.
Remove one or more
breakpoints
Click the breakpoint in the Margin Indicator bar of the Code Editor.
or
Click the Delete All Breakpoints command on the Debug menu.
Stop debugging Click the Stop Debugging button on the Standard toolbar.