Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Multiple targets immediately after configuration launch

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of xgsa
> Sent: Tuesday, August 30, 2011 1:12 PM
> To: CDT General developers list.
> Subject: [cdt-dev] Multiple targets immediately after 
> configuration launch
> Hi,
> I see that both CDI & DSF debuggers support multiple targets 
> (i.e. there 
> is ICDISession.getTargets() in CDI and something similar for 
> DSF), but I 
> cannot figure out is there a case when there will be a few targets 
> immediately after configuration launch? And can I assume that 
> the first 
> process is the one that was specified in launch configuration?

For DSF-GDB, we currently support multi-process debugging.  Processes
can be added dynamically during a debug session by using the Connect
button of the Debug view toolbar.  The launch itself will not
attach to multiple processes at once.  However, with the next CDT,
using the Connect button will allow to attatch to multiple processes
at once:

When you say "the first process" do you mean the one that is the top-most
in the debug view?  For DSF-GDB, usually, new processes are added above
the older ones in the debug view.

Other DSF integrations may be different.  For example, I believe
EDC does allow the launch to start multiple processes at once, although
I have not tried it myself.


Back to the top