Start a Program Under Debug Control

From within your project, you can start debugging a program as follows:

  1. If the project has not been built since you last made changes, rebuild the project.
  2. Choose the Debug page of the project tab.
  3. In the Run Specification view, select the run specification you want to debug. You can enter program arguments in the arguments entry field to pass to your program. You can create multiple run specifications for a project, for example, to specify different arguments to different versions.
  4. Click on the Debug button in the Run Specification view.

This starts your program running in a new process under debug control. You can start multiple processes for the same program and debug them at the same time. Just return to the Debug page of the project tab, select the run specification you want from the Run Specification view, and click on Debug again. You can then switch between debugging one process and another by selecting the appropriate process tab.

If you are debugging multiple processes, the process toolbar buttons and debug menubar items that appear when you start debugging the first process apply to whichever process has its workbook section in the foreground, or to the process whose workbook section was most recently selected, if a different type of workbook section is the foreground section.



Specify Arguments to Your Program


Run Specifications View