Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
Developer Support
QNX Documentation Library
QNX Developer Support

QNX Developer Support

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

[Previous] [Contents] [Index] [Next]

pdebug

Process-level debugger

Syntax:

pdebug [-esv] device

Options:

-e
Echo the debugged program's stdin back to the host.
-s
Notify the host only of signals caused by faults.
-v
Be verbose;
device
The device to use for the remote debug protocol; one of:
-
Use stdout / stdin.
/device_name[,baud]
Open and use the specified device, such as /dev/ser1, optionally setting the baud rate.
number
Accept connections on TCP/IP port number.

Description:

This utility provides access to process-level debugging from a remote host. To use pdebug, you need to run devc-pty on the target machine (i.e. the machine being debugged).

Examples:

For a 57600 baud serial connection on /dev/ser2:

pdebug /dev/ser2,57600 &

For a TCP/IP connection on port 8000:

pdebug 8000 &

See also:

devc-pty

"Debugging" in the Compiling & Debugging chapter of the Programmer's Guide


[Previous] [Contents] [Index] [Next]