Moving through the program efficiently


The steps in this section illustrate some shortcuts for displaying certain information in certain windows. To understand how to use the shortcuts, follow these steps:

  1. Type main into the Source window's Examine field to return to main().

  2. Double-click on DrawImage() to select that function.

  3. Press Command-Shift-K to bring up a new Source window with the selected DrawImage() function in the Examine field.

  4. Return to the first Source window and press Command-Shift-J to bring up a Disassembly window which looks at DrawImage() or any other selected function.

    Graphic cannot be 
displayed

    Figure 1: Disassembly window.

  5. Finally, press Command-Shift-B for a new Data window which looks at the function.

    Graphic cannot be displayed

    Figure 2: Data window.

    Note: You can also Command double-click on an item to bring up a new window of the same type examining that item.

    For more information about the windows discussed here and about other functionality of the Debugger, see Debugger Menus, Windows, and Dialog Boxes.