![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
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/motion.wrk/planetary_motion.
- 3. . In the Context field, enter your working view: $HOME/project1.ss/motion.wrk.
- 4. . Verify that the Debug option is selected.
- 5. . Click on OK in the Run dialog box.
- 6. . Iconify the Jobs window because it will not change as we run this program.
To return to the module you came from, use the Back button.
Setting a Breakpoint - Quick Review
- 1. . Visit the ada unit planetary_motion.2.ada. (double-click on this file in the viewer window.)
- 2. . Page down this procedure using the scroll bars on the right or by pressing the page-down key on the keyboard until you see the loop statement.
- 3. . Move the cursor to be on the line:
Display.Put_Summary_Info (Planet_1_Line...
- 4. . In the editor window, select Debug > Break Here.
- 5. . Select Execution > Continue to execute to this statement.
To return to the module you came from, use the Back button.
Ready to Step - Quick Review
- 1. . Visit the ada unit display.2.ada. (double-click on this file in the viewer window.)
- 2. . Go to the end of the file using the scroll bars.
- 3. . Move the cursor to be on the line:
return Orbit_Char & ...
- 4. . In the editor window, select Debug > Break Here.
The Debugger window displays a message indicating breakpoint 1 has been installed.
- 5. . Select Execution > Continue to execute to this statement.
- 6. . Select Windows > Breakpoints in the Debugger Log window to bring up the Breakpoints window.
- 7. . Select Breakpoint 1 in the Breakpoints window.
- 8. . To delete this breakpoint, select Windows > Breakpoints.
- 9. . In the Breakpoints window, select the Close button.
Rational Software Corporation http://www.rational.com support@rational.com techpubs@rational.com Copyright © 1993-2001, Rational Software Corporation. All rights reserved. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |