To create a launch configuration to debug a program for the first time:
In the Project Explorer view, select your project.
Select Run
> Debug Configurations….
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 Types of launch configurations 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.
Click the New button.
The dialog shows the various tabs for the launch configuration.
In the Name field, type a name for the configuration.
Fill in the details in the various tabs. For details about each tab, see the Setting execution options section in this chapter.
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: