Datasheet

Figure 1-63: The Code Snippets Manager lets you add and remove
snippet directories.
The Code Editor at Run Time
The code editor behaves slightly differently at run time and design time. Many of its design time fea-
tures still work. Breakpoints, bookmarks, IntelliSense, and snippets still work.
At run time, the editor adds new tools for controlling the program’s execution. Right-click on a value
and select Add Watch or QuickWatch to examine and monitor the value. Use the Stop Into, Step Over,
and Step Out commands on the Debug menu or toolbar to make the program walk through the code.
Right-click on a statement and select Show Next Statement to move the cursor to the next statement that
the program will execute. Select Run To Cursor to make the program continue running until it reaches
the cursor’s current line.
Right-click and select Set Next Statement to make the program jump to a new location. You can also
drag the yellow arrow indicating the next statement to a new location in the left margin. There are some
restrictions on where you can move the execution position. For example, you cannot jump out of one
routine and into another.
You can discover other run-time features by exploring the editor at run time. Right-click on different
parts of the editor to see which commands are available in that mode.
65
IDE
571982 ch01_2.qxd 1/19/06 1:16 PM Page 65