Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Eclipse CDT launch configuration and Launch Target setting

Looks like you're on the right track. I think you may need to contribute the definition of your descriptorType to <extension point="org.eclipse.launchbar.core.launchBarContributions"> . <descriptorType>

Here some help I found for that extension point:

   <!-- Launch Descriptor: This is the element shown in the middle selector. It represents a Launch Object. 
        Descriptors have a Type that watches for the creation and removal of Launch Objects and manages the
        creation and removal of Descriptors for those object.
        Launch Configuration Provider: This is the object that manages the creation and selection of 
        ILaunchConfiguration used by the buttons and Descriptor edit gear. Providers are registered to a 
        given Launch Descriptor Type and Launch Target Type. They also provide access to the type of the 
        configuration without having to create one. Each provider supports a single launch configuration type.

Then your SerialFlashLaunchConfigProvider can override ILaunchConfigurationProvider.supports(ILaunchDescriptor, ILaunchTarget) to determine if it supports the launch target.

I couldn't get my use of <extension point="org.eclipse.launchbar.ui.launchBarUIContributions"> to work so I don't use it; its not clear to me how to use it.

HTH John

On Friday, 4 December 2020, 12:46:04 GMT, Kondal Kolipaka <kondal.kolipaka@xxxxxxxxx> wrote: 

Hi All,

Could someone help me with managing the Eclipse CDT launch configuration and Launch target setting for our custom project?

Here is our Core plugin.xml

<?eclipse version="3.4"?>
            name="ESP-IDF Application"


Here is our UI plugin.xml

            name="ESP Target">

Using the above, If I create an ESP-IDF Applicationlaunch configuration how/where can I set the launch target(ESP-IDF Target, not Local Target in my case) for that? I couldn't find any extension point to link the launch configuration and target with it.

What is happening now is, If I create a new launch configuration for the ESP-IDF Application, the Launch Target combo from the launch bar is disappearing, and internally it's configuring the target to the default Local target though one of the ESP-IDF Target is selected in the UI. What I would like to do is, instead of configuration the Local Target for a new launch configuration I would like to set the ESP-IDF Target if it's already available so that I won't lose my target toolchain information while building/indexing/debugging.

Best Regards,

cdt-dev mailing list
To unsubscribe from this list, visit

Back to the top