mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00

I have added a Debug Tracing class to internal.gdb. and then I'm calling that class as messages pass out of Eclipse to GDB and then when responses come back from GDB. This class can be used to add debug tracing to other classes, but I'm not sure right now what people want to be able to log. I have amended the two affected classes to include copyright updates. I have also added the UI components to plugin.xml In addition, I have altered GdbCommandTimeoutManager to use the new tracing format so we can trace timeouts in the same way. Includes JavaDoc on the new file. Change-Id: Icf2af2aaa99dec010db77faf081eb2b8954b3b2a Reviewed-on: https://git.eclipse.org/r/5972 IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com> Tested-by: Marc Khouzam <marc.khouzam@ericsson.com> Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
88 lines
3.8 KiB
XML
88 lines
3.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?eclipse version="3.0"?>
|
|
<plugin>
|
|
|
|
<extension point="org.eclipse.debug.core.launchDelegates">
|
|
<launchDelegate
|
|
id="org.eclipse.cdt.dsf.gdb.launch.localCLaunch"
|
|
type="org.eclipse.cdt.launch.applicationLaunchType"
|
|
modes="debug"
|
|
delegate="org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate"
|
|
name="%launchDelegate.localApplication.name"
|
|
delegateDescription="%launchDelegate.localApplication.description"
|
|
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
|
|
sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
|
|
</launchDelegate>
|
|
<launchDelegate
|
|
id="org.eclipse.cdt.dsf.gdb.launch.remoteCLaunch"
|
|
type="org.eclipse.cdt.launch.remoteApplicationLaunchType"
|
|
modes="debug"
|
|
delegate="org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate"
|
|
name="%launchDelegate.remoteApplication.name"
|
|
delegateDescription="%launchDelegate.remoteApplication.description"
|
|
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
|
|
sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
|
|
</launchDelegate>
|
|
<launchDelegate
|
|
id="org.eclipse.cdt.dsf.gdb.launch.attachCLaunch"
|
|
type="org.eclipse.cdt.launch.attachLaunchType"
|
|
modes="debug"
|
|
delegate="org.eclipse.cdt.dsf.gdb.launching.GdbAttachLaunchDelegate"
|
|
name="%launchDelegate.attach.name"
|
|
delegateDescription="%launchDelegate.attach.description"
|
|
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
|
|
sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
|
|
</launchDelegate>
|
|
<launchDelegate
|
|
id="org.eclipse.cdt.dsf.gdb.launch.coreCLaunch"
|
|
type="org.eclipse.cdt.launch.postmortemLaunchType"
|
|
modes="debug"
|
|
delegate="org.eclipse.cdt.dsf.gdb.launching.GdbLaunchDelegate"
|
|
name="%launchDelegate.postmortem.name"
|
|
delegateDescription="%launchDelegate.postmortem.description"
|
|
sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
|
|
sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
|
|
</launchDelegate>
|
|
</extension>
|
|
|
|
<extension
|
|
point="org.eclipse.cdt.debug.core.BreakpointExtension">
|
|
<breakpointExtension
|
|
class="org.eclipse.cdt.dsf.gdb.breakpoints.CBreakpointGdbThreadsFilterExtension"
|
|
debugModelId="org.eclipse.cdt.dsf.gdb"
|
|
id="org.eclipse.cdt.dsf.gdb.threadFilter"
|
|
markerType="org.eclipse.cdt.debug.core.cBreakpointMarker">
|
|
</breakpointExtension>
|
|
</extension>
|
|
|
|
<!-- Binding debug model ids to context. Use the same bindings as CDT -->
|
|
<extension point="org.eclipse.debug.ui.debugModelContextBindings">
|
|
<modelContextBinding
|
|
contextId="org.eclipse.cdt.debug.ui.debugging"
|
|
debugModelId="org.eclipse.cdt.dsf.gdb"/>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.core.runtime.preferences">
|
|
<initializer
|
|
class="org.eclipse.cdt.dsf.gdb.internal.GdbPreferenceInitializer">
|
|
</initializer>
|
|
</extension>
|
|
<extension
|
|
point="org.eclipse.debug.core.processFactories">
|
|
<processFactory
|
|
class="org.eclipse.cdt.dsf.gdb.launching.GdbProcessFactory"
|
|
id="org.eclipse.cdt.dsf.gdb.GdbProcessFactory">
|
|
</processFactory>
|
|
</extension>
|
|
<extension
|
|
point = "org.eclipse.ui.trace.traceComponents">
|
|
<component
|
|
id="org.eclipse.cdt.dsf.gdb.component"
|
|
label="%cdt.dsf.gdb.component.label">
|
|
<bundle
|
|
consumed="true"
|
|
name="org.eclipse.cdt.dsf.gdb">
|
|
</bundle>
|
|
</component>
|
|
</extension>
|
|
</plugin>
|