Debugger and spawn()

bridged with qdn.public.qnxrtp.newuser
Post Reply
James

Debugger and spawn()

Post by James » Fri Aug 08, 2003 7:49 pm

Hi -

What response should one expect from the IDE debugger for QNX 6.1 when
stepping over a C line invoking spawn()?

regards...
james

David Gibbs

Re: Debugger and spawn()

Post by David Gibbs » Mon Aug 11, 2003 5:37 pm

James <james.nospam@plexoninc.com> wrote:
Hi -

What response should one expect from the IDE debugger for QNX 6.1 when
stepping over a C line invoking spawn()?
Details depend on the parameters to spawn -- but the child that is spawned
is not controlled by the debugger, but will run normally.

If you want to take over, you may have to pass the "SPAWN_HOLD" flag
to the spawn, then attach to the child with the debugger after it
has loaded.

-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

Post Reply

Return to “qdn.public.qnxrtp.newuser”