IP communication
QNX Tool SuiteIntegrated Development Environment User's GuideDeveloperSetup
Through an IP connection, the IDE can debug, monitor, and profile programs as they run on the target.
Launch the qconn agent on the target, from a command-line shell or the boot script.
By default, qconn runs on port 8000 (as indicated in its usage message).
You can use another port by explicitly stating it in the command, as in:
qconn port=9000
For details on the arguments and semantics for this agent, see the
qconn entry in the Utilities Reference.
- qconn is running (use
pidin | grep qconn
); this target agent must be listening on either an external port or a local port used with SSH tunnelling, which is explained in the next section - pdebug is in /usr/bin and has execute permissions (qconn launches this service as required)
- the pseudo-terminal communications manager, devc-pty, is running
(use
pidin | grep devc-pty
)
CAUTION:
Don't run qconn in a production setting as part of the normal system setup.
The qconn utility is highly insecure because it doesn't do user validation and always runs as root,
which allows users to download and execute arbitrary code on the target.
You can use the utility temporarily (e.g., if you're running an analysis tool that needs to send data to the host)
by accessing the target machine through SSH and starting qconn manually.
Or, you can secure qconn traffic using SSH, as explained below.
Page updated: