Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-debug-dev] Debug porcess

When you attach to the child process it is already in the while loop. If
you want to attach to it from the beginning you have to start and
suspend it immediately. I don't know exactly how to do it, but there
must be some fork variants for that.  

-----Original Message-----
From: cdt-debug-dev-bounces@xxxxxxxxxxx
[mailto:cdt-debug-dev-bounces@xxxxxxxxxxx] On Behalf Of Elisabet Martir
Gallardo
Sent: 20 November 2006 15:38
To: CDT Debug developers list
Subject: Re: [cdt-debug-dev] Debug porcess

Ok, I works.

But I can't debug all the child process. I can't debug the begining, I
can only debug if I set a breakpoint in a while function where my
process stops.

Could you explain me how does it work and how can I do to debug the
whole child process?

Thanks a lot.

2006/11/20, Mikhail Khodjaiants <Mikhail.Khodjaiants@xxxxxxx>:
> You can use the "Attach to Local application" launch configuration 
> type to attach to the child process.
>
> -----Original Message-----
> From: cdt-debug-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-debug-dev-bounces@xxxxxxxxxxx] On Behalf Of Elisa
> Sent: 19 November 2006 17:21
> To: cdt-debug-dev@xxxxxxxxxxx
> Subject: [cdt-debug-dev] Debug porcess
>
>
> Hy
>
> I have a little problem in debugging a C program with Eclipse.
>
> My programe use fork() to launch some process that I want to debug, 
> but I can't.
>
> If someone can tell me how I can debug those process.
>
> Thank's a lot.
> --
> View this message in context:
> http://www.nabble.com/Debug-porcess-tf2664675.html#a7431192
> Sent from the Eclipse CDT - debug mailing list archive at Nabble.com.
>
> _______________________________________________
> cdt-debug-dev mailing list
> cdt-debug-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
>
> --
> IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended
recipient, please notify the sender immediately and do not disclose the
contents to any other person, use it for any purpose, or store or copy
the information in any medium.  Thank you.
>
>
> _______________________________________________
> cdt-debug-dev mailing list
> cdt-debug-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev
>
_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev


Back to the top