Debugger and spawn()

Hi -

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

regards…
james

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.