Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Debugging a spawned program
Ref. No. QNX.000007875
Category(ies) Utilities, Development
Issue We have a program spawning another program, but 'wd' only follows the original program.  How do we go about debugging the spawned program?
Solution Go to another console, and type 'sin' to find the PID of the child process (who's state should be held).  Launch a second 'wd' session with the pid of the child as the argument.