Datasheet

Figure 1-29: The Threads window displays information about the
program’s threads of execution.
Watch — The Watch submenu contains the commands Watch 1, Watch 2, Watch 3, and Watch 4.
These commands display four different watch windows. When you create a watch using the Debug
menu’s QuickWatch command described earlier, the new watch is placed in the Watch 1 window
(shown in Figure 1-22). You can click and drag watches from one watch window to another to
make a copy of the watch in the second window. You can also click the Name column in the
empty line at the bottom of a watch window and enter an expression to watch. One useful IDE
trick is to drag watch windows 2, 3, and 4 onto Watch 1 so that they all become tabs on the same
window. Then you can easily use the tabs to group and examine four sets of watches.
Modules — This command displays the Modules window shown in Figure 1-30. This window
displays information about the DLL and EXE files used by the program. It shows each module’s
file name and path. It indicates whether the module is optimized, whether it is your code (ver-
sus an installed library), and whether debugging symbols are loaded. The window shows each
module’s load order (lower-numbered modules are loaded first), the version, and timestamp.
Click on a column to sort the modules by that column.
Figure 1-30: The Modules window displays information about the modules used by the program.
30
Part I: Getting Started
37055c016.qxd 4/8/07 12:46 PM Page 30