Debug problems

John Birch jbb at kdevelop.org
Wed Oct 4 20:31:09 UTC 2000


On Wed, 04 Oct 2000, you wrote:
> Before anyone answers this, I got it working, I have several threads
> running and it seems I can only debug the parent process.
>
> Is there anyway to debug child processes?

You're talking fork() rather than pthreads I'm assuming.

If so, you need this small patch to kdevelop/kdevelop/dbg/gdbcontroller.cpp

I haven't tried it - (or compiled it) so hope it works :-)

If you want to switch between following parent/child then let me know. It'll 
be a bit more work though.

jbb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: follow_child.patch
Type: text/english
Size: 358 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20001004/95f11fe9/attachment.bin>


More information about the KDevelop mailing list