RE: [cdt-dev] DSF/CDI Launchers weirdness
I think the problem becomes visible because you have EDC.
When I don't have EDC and I select Run As, there is no prompt
and the program launches using CDI. This is fine
because there is actually no debugging going on.
Once you have EDC, I believe the platform no longer knows
which between CDI and EDC to choose, and that is why you get the prompt.
So, maybe adding support in DSF-GDB for Run, may not be the right solution.
Do we really want to have the user need to choose a debugger integration
even for Run? Why choose between CDI, DSF-GDB or EDC, when there will
be no debugging?
How about a single launch delegate for Run, for all of CDT?
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Alena Laskavaia
> Sent: Monday, April 12, 2010 12:39 PM
> To: Pawel Piech
> Cc: CDT General developers list.
> Subject: Re: [cdt-dev] DSF/CDI Launchers weirdness
> Well it has EDC there too in the list for Run. I don't know if it is
> different but it technically I pick EDC for run instead of standard
> On Mon, Apr 12, 2010 at 12:35 PM, Pawel Piech
> <pawel.piech@xxxxxxxxxxxxx> wrote:
> > This appears to be a bug in the multiple launchers support
> in platform.
> > Could you file it as a bug?
> > I think the correct behavior would be for the launch
> framework to use CDI
> > without prompting you whenever you select the run.
> > -Pawel
> > Alena Laskavaia wrote:
> >> I was playing a bit with debugger lately and work flow is
> really awkward
> >> for me.
> >> I don't have official build I am running from the trunk
> but what I see is
> >> weird.
> >> So looks like DSF does not have a "Launcher" (the stuff you switch
> >> using link in the bottom) for Run
> >> configuration, but does for Debug. So I have to pick
> different ones for
> >> Run
> >> and Debug. So I compile my app and do Run As->Local C++
> App - and it gives
> >> me list which does not include DFS - so I pick standard.
> When I debug
> >> I have to do it again to switch to DSF. If I do opposite -
> pick DFS from
> >> Debug -
> >> when I do Run - my launch for run - does not do anything, cannot be
> >> terminated and
> >> deleted, and if I open launch configuration it shows that
> I use DSF -
> >> which is not in the
> >> list if I click on link.
> >> Is it expected behaviour?
> >> _______________________________________________
> >> cdt-dev mailing list
> >> cdt-dev@xxxxxxxxxxx
> >> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> cdt-dev mailing list