1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-06 00:25:25 +02:00
cdt/debug/org.eclipse.cdt.debug.core/plugin.xml
Doug Schaefer e9beafae10 Add Local Debug for Core Build launches. Qt Path var for Windows.
Adds gdb launching for Core Build launches. A common class is created
for things common to run and debug (and probably others).

At the bin directory containing qmake to the PATH var for builds and
launches since that's where the DLLs are.

Adds method and variable to GDBLaunch to override the default
environment.

Change-Id: I3ab3b48a2f99eaed50cdb4cfdc03959e9700abc5
2016-11-09 11:40:17 -05:00

487 lines
19 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension-point id="BreakpointActionType" name="%BreakpointAction" schema="schema/BreakpointAction.exsd"/>
<extension-point id="BreakpointExtension" name="%BreakpointAction" schema="schema/BreakpointExtension.exsd"/>
<extension-point id="supportedSourceContainerTypes" name="%SupportedSourceContainerTypes.name" schema="schema/SupportedSourceContainerTypes.exsd"/>
<extension-point id="ExecutablesProvider" name="%executablesProvider.name" schema="schema/ExecutablesProvider.exsd"/>
<extension-point id="SourceFilesProvider" name="%sourceFilesProvider.name" schema="schema/SourceFilesProvider.exsd"/>
<extension-point id="SourceRemappingProvider" name="%sourceRemappingProvider.name" schema="schema/SourceRemappingProvider.exsd"/>
<extension-point id="ExecutablesImporter" name="%executablesImporter.name" schema="schema/ExecutablesImporter.exsd"/>
<extension
point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType
id="org.eclipse.cdt.launch.applicationLaunchType"
name="%ApplicationLaunch.name"
public="true">
</launchConfigurationType>
<launchConfigurationType
id="org.eclipse.cdt.launch.attachLaunchType"
name="%AttachLaunch.name"
public="true">
</launchConfigurationType>
<launchConfigurationType
id="org.eclipse.cdt.launch.postmortemLaunchType"
name="%PostMortemLaunch.name"
public="true">
</launchConfigurationType>
<launchConfigurationType
id="org.eclipse.cdt.launch.remoteApplicationLaunchType"
name="%RemoteApplicationLaunch.name"
public="true">
</launchConfigurationType>
</extension>
<extension
id="cBreakpointMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.debug.core.breakpointMarker">
</super>
<persistent
value="true">
</persistent>
<attribute
name="org.eclipse.cdt.debug.core.condition">
</attribute>
<attribute
name="org.eclipse.cdt.debug.core.ignoreCount">
</attribute>
<attribute
name="org.eclipse.cdt.debug.core.threadId">
</attribute>
<attribute
name="org.eclipse.cdt.debug.core.installCount">
</attribute>
<attribute
name="org.eclipse.cdt.debug.core.sourceHandle">
</attribute>
<attribute
name="org.eclipse.cdt.debug.core.breakpointType">
</attribute>
</extension>
<extension
id="commonCLineBreakpointMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.cdt.debug.core.cBreakpointMarker">
</super>
<super
type="org.eclipse.debug.core.lineBreakpointMarker">
</super>
<persistent
value="true">
</persistent>
</extension>
<extension
id="cLineBreakpointMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.cdt.debug.core.commonCLineBreakpointMarker">
</super>
<persistent
value="true">
</persistent>
<attribute
name="org.eclipse.cdt.debug.core.function">
</attribute>
<attribute
name="org.eclipse.cdt.debug.core.address">
</attribute>
</extension>
<extension
id="cAddressBreakpointMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.cdt.debug.core.commonCLineBreakpointMarker">
</super>
<persistent
value="true">
</persistent>
</extension>
<extension
id="cFunctionBreakpointMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.cdt.debug.core.commonCLineBreakpointMarker">
</super>
<persistent
value="true">
</persistent>
</extension>
<extension
id="cTracepointMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.cdt.debug.core.cLineBreakpointMarker">
</super>
<persistent
value="true">
</persistent>
<attribute
name="org.eclipse.cdt.debug.core.passCount">
</attribute>
</extension>
<extension
id="cLineTracepointMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.cdt.debug.core.cTracepointMarker">
</super>
<persistent
value="true">
</persistent>
</extension>
<extension
id="cAddressTracepointMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.cdt.debug.core.cTracepointMarker">
</super>
<persistent
value="true">
</persistent>
</extension>
<extension
id="cFunctionTracepointMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.cdt.debug.core.cTracepointMarker">
</super>
<persistent
value="true">
</persistent>
</extension>
<extension
id="cDynamicPrintfMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.cdt.debug.core.cLineBreakpointMarker">
</super>
<persistent
value="true">
</persistent>
<attribute
name="org.eclipse.cdt.debug.core.printf_string">
</attribute>
</extension>
<extension
id="cLineDynamicPrintfMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.cdt.debug.core.cDynamicPrintfMarker">
</super>
<persistent
value="true">
</persistent>
</extension>
<extension
id="cAddressDynamicPrintfMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.cdt.debug.core.cDynamicPrintfMarker">
</super>
<persistent
value="true">
</persistent>
</extension>
<extension
id="cFunctionDynamicPrintfMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.cdt.debug.core.cDynamicPrintfMarker">
</super>
<persistent
value="true">
</persistent>
</extension>
<extension
id="cWatchpointMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.cdt.debug.core.cBreakpointMarker">
</super>
<persistent
value="true">
</persistent>
<attribute
name="org.eclipse.cdt.debug.core.expression">
</attribute>
<attribute
name="org.eclipse.cdt.debug.core.memoryspace">
</attribute>
<attribute
name="org.eclipse.cdt.debug.core.range">
</attribute>
<attribute
name="org.eclipse.cdt.debug.core.write">
</attribute>
<attribute
name="org.eclipse.cdt.debug.core.read">
</attribute>
</extension>
<extension
id="cEventBreakpointMarker"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.cdt.debug.core.cBreakpointMarker">
</super>
<persistent
value="true">
</persistent>
<attribute
name="org.eclipse.cdt.debug.core.eventbreakpoint_event_id">
</attribute>
<attribute
name="org.eclipse.cdt.debug.core.eventbreakpoint_event_arg">
</attribute>
</extension>
<extension
id="breakpointproblem"
name="%breakpointProblem.name"
point="org.eclipse.core.resources.markers">
<super
type="org.eclipse.core.resources.problemmarker">
</super>
<super
type="org.eclipse.core.resources.textmarker">
</super>
<persistent
value="false">
</persistent>
<attribute name="externalLocation"/>
</extension>
<extension
point="org.eclipse.debug.core.breakpoints">
<breakpoint
class="org.eclipse.cdt.debug.internal.core.breakpoints.CLineBreakpoint"
name="%cLineBreakpoints.name"
markerType="org.eclipse.cdt.debug.core.cLineBreakpointMarker"
id="cLineBreakpoint">
</breakpoint>
<breakpoint
class="org.eclipse.cdt.debug.internal.core.breakpoints.CAddressBreakpoint"
name="%cAddressBreakpoints.name"
markerType="org.eclipse.cdt.debug.core.cAddressBreakpointMarker"
id="cAddressBreakpoint">
</breakpoint>
<breakpoint
class="org.eclipse.cdt.debug.internal.core.breakpoints.CFunctionBreakpoint"
name="%cFunctionBreakpoints.name"
markerType="org.eclipse.cdt.debug.core.cFunctionBreakpointMarker"
id="cFunctionBreakpoint">
</breakpoint>
<breakpoint
class="org.eclipse.cdt.debug.internal.core.breakpoints.CWatchpoint"
name="%cWatchpoints.name"
markerType="org.eclipse.cdt.debug.core.cWatchpointMarker"
id="cWatchpoint">
</breakpoint>
<breakpoint
class="org.eclipse.cdt.debug.internal.core.breakpoints.CLineTracepoint"
name="%cLineTracepoints.name"
markerType="org.eclipse.cdt.debug.core.cLineTracepointMarker"
id="cLineTracepoint">
</breakpoint>
<breakpoint
class="org.eclipse.cdt.debug.internal.core.breakpoints.CAddressTracepoint"
name="%cAddressTracepoints.name"
markerType="org.eclipse.cdt.debug.core.cAddressTracepointMarker"
id="cAddressTracepoint">
</breakpoint>
<breakpoint
class="org.eclipse.cdt.debug.internal.core.breakpoints.CFunctionTracepoint"
name="%cFunctionTracepoints.name"
markerType="org.eclipse.cdt.debug.core.cFunctionTracepointMarker"
id="cFunctionTracepoint">
</breakpoint>
<breakpoint
class="org.eclipse.cdt.debug.internal.core.breakpoints.CLineDynamicPrintf"
name="%cLineDynamicPrintf.name"
markerType="org.eclipse.cdt.debug.core.cLineDynamicPrintfMarker"
id="cLineDynamicPrintf">
</breakpoint>
<breakpoint
class="org.eclipse.cdt.debug.internal.core.breakpoints.CAddressDynamicPrintf"
name="%cAddressDynamicPrintf.name"
markerType="org.eclipse.cdt.debug.core.cAddressDynamicPrintfMarker"
id="cAddressDynamicPrintf">
</breakpoint>
<breakpoint
class="org.eclipse.cdt.debug.internal.core.breakpoints.CFunctionDynamicPrintf"
name="%cFunctionDynamicPrintf.name"
markerType="org.eclipse.cdt.debug.core.cFunctionDynamicPrintfMarker"
id="cFunctionDynamicPrintf">
</breakpoint>
<breakpoint
class="org.eclipse.cdt.debug.internal.core.breakpoints.CEventBreakpoint"
name="%cEventBreakpoints.name"
markerType="org.eclipse.cdt.debug.core.cEventBreakpointMarker"
id="cEventBreakpoint">
</breakpoint>
</extension>
<extension
point="org.eclipse.core.runtime.preferences">
<initializer class="org.eclipse.cdt.debug.internal.core.CDebugCorePreferenceInitializer"/>
</extension>
<extension
point="org.eclipse.debug.core.sourcePathComputers">
<sourcePathComputer
class="org.eclipse.cdt.debug.internal.core.sourcelookup.CSourcePathComputerDelegate"
id="org.eclipse.cdt.debug.core.sourcePathComputer"/>
</extension>
<extension
point="org.eclipse.debug.core.sourceLocators">
<sourceLocator
class="org.eclipse.cdt.debug.internal.core.sourcelookup.CSourceLookupDirector"
name="%sourceLocator.name"
id="org.eclipse.cdt.debug.core.sourceLocator"/>
</extension>
<extension
point="org.eclipse.debug.core.sourceContainerTypes">
<sourceContainerType
class="org.eclipse.cdt.debug.internal.core.sourcelookup.CProjectSourceContainerType"
description="%containerDescription.project"
id="org.eclipse.cdt.debug.core.containerType.project"
name="%containerName.project"/>
<sourceContainerType
class="org.eclipse.cdt.debug.internal.core.sourcelookup.MappingSourceContainerType"
description="%containerDescription.mapping"
id="org.eclipse.cdt.debug.core.containerType.mapping"
name="%containerName.mapping"/>
<sourceContainerType
class="org.eclipse.cdt.debug.internal.core.sourcelookup.MapEntrySourceContainerType"
description="%containerDescription.mapEntry"
id="org.eclipse.cdt.debug.core.containerType.mapEntry"
name="%containerName.mapEntry"/>
<sourceContainerType
class="org.eclipse.cdt.debug.internal.core.sourcelookup.CDirectorySourceContainerType"
description="%containerDescription.directory"
id="org.eclipse.cdt.debug.core.containerType.directory"
name="%containerName.directory"/>
<sourceContainerType
class="org.eclipse.cdt.debug.internal.core.sourcelookup.CompilationDirectorySourceContainerType"
description="%containerDescription.compilationDirectory"
id="org.eclipse.cdt.debug.core.containerType.compilationDirectory"
name="%containerName.compilationDirectory"/>
<sourceContainerType
class="org.eclipse.cdt.debug.internal.core.sourcelookup.SourceFoldersRelativePathSourceContainerType"
description="%containerDescription.sourceFoldersRelativePath"
id="org.eclipse.cdt.debug.core.containerType.sourceFoldersRelativePath"
name="%containerName.sourceFoldersRelativePath"/>
<sourceContainerType
class="org.eclipse.cdt.debug.internal.core.sourcelookup.AbsolutePathSourceContainerType"
description="%containerDescription.absolutePath"
id="org.eclipse.cdt.debug.core.containerType.absolutePath"
name="%containerName.absolutePath"/>
<sourceContainerType
class="org.eclipse.cdt.debug.internal.core.sourcelookup.ProgramRelativePathSourceContainerType"
description="%containerDescription.programRelativePath"
id="org.eclipse.cdt.debug.core.containerType.programRelativePath"
name="%containerName.programRelativePath">
</sourceContainerType>
</extension>
<extension
point="org.eclipse.cdt.debug.core.supportedSourceContainerTypes">
<sourceContainer
id="org.eclipse.cdt.debug.core.containerType.absolutePath"/>
<sourceContainer
id="org.eclipse.cdt.debug.core.containerType.programRelativePath"/>
<sourceContainer
id="org.eclipse.cdt.debug.core.containerType.mapping"/>
<sourceContainer
id="org.eclipse.cdt.debug.core.containerType.compilationDirectory"/>
<sourceContainer
id="org.eclipse.cdt.debug.core.containerType.project"/>
<sourceContainer
id="org.eclipse.cdt.debug.core.containerType.sourceFoldersRelativePath"/>
<sourceContainer
id="org.eclipse.debug.core.containerType.folder"/>
<sourceContainer
id="org.eclipse.debug.core.containerType.workspace"/>
<sourceContainer
id="org.eclipse.debug.core.containerType.directory"/>
</extension>
<extension
point="org.eclipse.core.runtime.adapters">
<factory
adaptableType="org.eclipse.cdt.core.model.IBinary"
class="org.eclipse.cdt.debug.internal.core.srcfinder.CSourceFinderFactory">
<adapter
type="org.eclipse.cdt.core.ISourceFinder">
</adapter>
</factory>
</extension>
<extension
point="org.eclipse.debug.core.breakpointImportParticipants">
<importParticipant
participant="org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpointImportParticipant"
type="org.eclipse.cdt.debug.core.cWatchpointMarker">
</importParticipant>
<importParticipant
participant="org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpointImportParticipant"
type="org.eclipse.cdt.debug.core.cEventBreakpointMarker">
</importParticipant>
<importParticipant
participant="org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpointImportParticipant"
type="org.eclipse.cdt.debug.core.cLineBreakpointMarker">
</importParticipant>
<importParticipant
participant="org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpointImportParticipant"
type="org.eclipse.cdt.debug.core.cAddressBreakpointMarker">
</importParticipant>
<importParticipant
participant="org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpointImportParticipant"
type="org.eclipse.cdt.debug.core.cFunctionBreakpointMarker">
</importParticipant>
<importParticipant
participant="org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpointImportParticipant"
type="org.eclipse.cdt.debug.core.cLineDynamicPrintfMarker">
</importParticipant>
<importParticipant
participant="org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpointImportParticipant"
type="org.eclipse.cdt.debug.core.cAddressDynamicPrintfMarker">
</importParticipant>
<importParticipant
participant="org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpointImportParticipant"
type="org.eclipse.cdt.debug.core.cFunctionDynamicPrintfMarker">
</importParticipant>
<importParticipant
participant="org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpointImportParticipant"
type="org.eclipse.cdt.debug.core.cLineTracepointMarker">
</importParticipant>
<importParticipant
participant="org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpointImportParticipant"
type="org.eclipse.cdt.debug.core.cAddressTracepointMarker">
</importParticipant>
<importParticipant
participant="org.eclipse.cdt.debug.internal.core.breakpoints.CBreakpointImportParticipant"
type="org.eclipse.cdt.debug.core.cFunctionTracepointMarker">
</importParticipant>
</extension>
<extension
point="org.eclipse.debug.core.launchConfigurationTypes">
<launchConfigurationType
delegate="org.eclipse.cdt.debug.internal.core.launch.CoreBuildLocalRunLaunchDelegate"
id="org.eclipse.cdt.debug.core.localCoreBuildLaunchConfigType"
modes="run"
name="%localApplicationLaunch.name"
public="false">
</launchConfigurationType>
</extension>
<extension
point="org.eclipse.launchbar.core.launchBarContributions">
<descriptorType
class="org.eclipse.cdt.debug.internal.core.launch.CoreBuildLaunchDescriptorType"
id="org.eclipse.cdt.debug.core.coreBuildDescriptorType"
priority="20">
</descriptorType>
<configProvider
class="org.eclipse.cdt.debug.internal.core.launch.CoreBuildLocalLaunchConfigProvider"
descriptorType="org.eclipse.cdt.debug.core.coreBuildDescriptorType"
priority="10">
</configProvider>
</extension>
</plugin>