Running a program

You can have a program run until one of the following occurs:

If you select Debug > Run, the program will run until the end of the program is reached, an active breakpoint is hit, or an exception occurs if exception filtering is set to a level other than NONE.

To run a program until an active breakpoint is hit, do one of the following:

If you select Run to Location, the program will run to the statement selected unless an active breakpoint is hit, an exception occurs or the end of the program is reached.

To run a program to a specific line number:

  1. Ensure the Source pane is set to source view. To set the Source pane to a source view, select Source > Source View from the menu bar.
  2. Make sure the line to run to is visible in the Source pane by using the scroll bar or cursor keys to locate the line.
  3. Run the program to the line by doing one of the following:

ngrelc.gif (533 bytes)
Breakpoints

Related Tasks
Stepping through a program
Setting multiple breakpoints
ngaix.gif (307 bytes)ngwin.gif (301 bytes)Modifying breakpoint properties
Enabling and disabling breakpoints
Deleting a breakpoint
Viewing breakpoints