[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Overriding the default CDT debugger launch delegates
|
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Stefan Bylund
> Sent: Monday, January 31, 2011 3:52 AM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] Overriding the default CDT debugger launch
> delegates
>
> Hi,
>
> I would like to change the default debugger launch delegate
> (from DSF to
> CDI) for some of the CDT launch configurations in our
> Eclipse/CDT based
> product. As an end user you can do this via the preferences
> (Run/Debug
> -> Launching -> Default Launchers). However, I would like to override
> some of the default values in the plugin_customization.ini
> file of our
> product. The problem is that it seems impossible to override these
> default values...
I'm not familiar with the plugin_customization.ini file myself,
but I can point you to where the default CDT launch configurations
are set. Maybe that can help you figure out a solution.
If you look at CDebugCorePlugin.setDefaultLaunchDelegates(), this is
where all the defaults are set. Notice that they are only set if
there is no default already set.
>
> For example, in order to change the default debugger launch
> delegate to
> the CDI variant for the "C/C++ Application" launch configuration, you
> would add the following line to your product's
> plugin_customization.ini
> file:
>
> //org.eclipse.debug.core.PREFERRED_DELEGATES/org.eclipse.cdt.l
> aunch.applicationLaunchType
> = org.eclipse.cdt.cdi.launch.localCLaunch,debug
>
> However, this doesn't work... I have tried different
> permutations of the
> above line without success.
>
> Has anyone else tried overriding the default CDT debugger launch
> delegates? Any input would be most welcome.
>
> Regards,
> Stefan
>
>
> --
> ---------------------------------
> Stefan Bylund
> Senior Software Engineer
> Enea
> Skalholtsgatan 9,
> Box 1033, SE-164 21 Kista, Sweden
> Direct: +46 8 50 71 43 25
> Mobile: +46 709 71 43 25
> stefan.bylund@xxxxxxxx
> www.enea.com
> ---------------------------------
> Enea - Embedded for Leaders
> ---------------------------------
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>