TOC PREV NEXT INDEX DOC LIST MASTER INDEX




Starting Execution - Quick Review

1. . In any window, select File > Run.

The Run dialog box is displayed.

2. . In the Execute field, enter the executable name: $HOME/project1.ss/queens.wrk/main where my_dir is your directory.

3. . In the Context field, enter your working view: $HOME/project1.ss/queens.wrk.

4. . Verify that the Debug option is selected.

5. . Click on OK in the Run dialog box.

To return to the module you came from, use the Back button.


Setting a Breakpoint - Quick Review

1. . Visit the file queens.c. (double-click on this file in the viewer window). The file will be displayed in an editor window.

2. . Page down this procedure using the scroll bars on the right until you see the is_safe statement.

3. . Position your cursor on the line:

4. . Issue a Debug > Break Here command in the Debugger window.

To return to the module you came from, use the Back button.


Ready to Step - Quick Review

1. . Visit the C file queens.c (double-click on this file in the viewer window.

2. . Move the cursor to be on the line

3. . In the editor window, select Debug > Break Here.

The Debugger window displays a message indicating breakpoint 1 has been installed.

4. . Select Execution > Continue in the Debugger window to execute to this statement.

5. . Place your cursor on the breakpointed line in the Source Pane and enter d. This deletes the breakpoint.

6. . Select Execution > Step Over to step over the call to is_safe.

7. . Select Execution > Step Into to step into set_queen.

8. . Select Execution > Step Statement four times to end on line 16 of set_queen.

To return to the module you came from, use the Back button.


Rational Software Corporation 
http://www.rational.com
support@rational.com
techpubs@rational.com
Copyright © 1993-2001, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX DOC LIST MASTER INDEX TECHNOTES APEX TIPS