Hi
Doug,
Yes
it‘s totally what I want to do.
What
I think to do :
We
have now our own project type (based on ansi c project),
when the user select a multi-core board under the wizard,
I’ll generated (programmatically.. always ;) ) 2 debug
configurations which generate 2 binaries :

I’ll
add widgets (text area and browse button) under launch
configuration to add another binary file on Main tab.
So,
the question that remains unresolved, it’s how launch the
debug session ?
Should
I launch 2 different debug sessions ?
Thank
you !
Christelle
This came up in a
conversation I had with a field expert last week. Having
multiple binaries/executables per project from what I’m
told is pretty common and something we need to support
better.
There is the Launch
Group launch configuration type which is supposed to be
able to co-ordinate multiple launches in one. This is
probably what you’re looking for.
I also have on the
drawing board, a multi-launch capability for the launch
bar that lets you specify a list of triples (mode, config,
target).
I’d like to explore
the right way to do this. At the very least, we should
never assume one binary per project and need to treat
binaries as more of a first class citizen.
Thanks for bringing
this up and hope that helps.
Hi
Marc,
Thank
you to answer me !
In
fact I’ve two different binaries, but one project (I
want to add a new wizard for a new project type who
will generate two debug configuration). The source
will be instrumented and the makefile will be
differents.
I
want to add programmatically a section under the
launch configuration to add the two binaries and
launch a debug session, so yes I want to trigger a
Debug session programmatically.
So,
I want to know, if I have to do 2 debug sessions or if
exists a kind of “double” debug session ?
I
hop, I’m clear !
Many
thanks !
Have
a good day !
Christelle
Hi
Christelle,
I am not sure what you are asking exactly.
A binary running on a multi-core system is handled
automatically by the OS, and a single Debug session
should work fine.
If you are talking about debugging multiple
processes, that is also supported by a single Debug
session.
If you want to trigger a Debug session
programatically, that can be done easily and I can
point you to an example
of how Trace Compass does this to visualizer GDB
traces.
I'll let you clarify your questions before getting
into more details.
marc
Hi
all !
I’ll
work on multi-core problematical very soon.
And
I think about how can I’ll do …
How
can you launch the debug ?
2
GDB sessions or one particular GDB session if
exists such a think ???
Do
you know where can I find a piece of code
explaining to me ?
Many
thanks for your attention !
Chris