Debug a program the first time

To create a launch configuration to debug a program for the first time:
  1. In the Project Explorer view, select your project.
  2. Select Run > Debug Configurations….
  3. Select a launch configuration type:

    Typically, if you're connecting to your target via IP, you can select C/C++ QNX QConn (IP). If not, see the Launch configuration types section in this chapter before deciding.

    Note: You can't create a local debug session with the QNX GDB Debugger. This debugger is available only on qconn for postmortem debugging.
  4. Click the New button.

    The dialog shows the various tabs for the launch configuration.

  5. In the Name field, type a name for the configuration.
  6. Fill in the details in the various tabs. For details about each tab, see the Set execution options section in this chapter.
  7. Click Debug.

    Now, you can run (launch) and debug your program.

Note: You can also use the Debug As menu item to conveniently select a particular launch configuration and launch and existing debug configuration: