Running and debugging the first time

You can use the same launch configuration to run or debug a program.

Running a program the first time

To run a program the first time

  1. In C/C++ Projects view (or Navigator view), select a project.
  2. On the Run menu, click Run. The Run dialog box opens.
  3. In the Configurations pane, select a launch configuration type.
  4. Click New.

  5. Do the following
    1. In the Name field, enter a configuration description.
    2. In the Project field, enter the project name.
    3. In the C/C++ Application field, enter the executable name.
    4. Fill in the details in the various tabs. 
  6. Click Run.

Debugging a program the first time

To debug a program the first time

  1. In C/C++ Projects view (or Navigator view), select a project.
  2. On the Run menu, click Debug. The Debug dialog box opens.
  3. In the Configurations pane, select a launch configuration type.
  4. Click New.

  5. Do the following
    1. In the Name field, enter a configuration description.
    2. In the Project field, enter the project name.
    3. In the C/C++ Application field, enter the executable name.
    4. Fill in the details in the various tabs. 
  6. Click Debug.

Copyright IBM Corporation
 2000, 2002. All Rights Reserved.