Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2019-01-04 07:49:36 -0500
committerJonah Graham2019-07-10 18:23:38 -0400
commitd7b7f10255bbbfdcd00cb49192de9b4f78295539 (patch)
tree608abc07ecc013946688facd1b4fe1e1fca46d88 /debug/org.eclipse.cdt.debug.dap/plugin.xml
parentf96971a278189debdfa2f8b7af64c70642bdfbe9 (diff)
downloadorg.eclipse.cdt-d7b7f10255bbbfdcd00cb49192de9b4f78295539.tar.gz
org.eclipse.cdt-d7b7f10255bbbfdcd00cb49192de9b4f78295539.tar.xz
org.eclipse.cdt-d7b7f10255bbbfdcd00cb49192de9b4f78295539.zip
Bug 542488: Initial/rudimentary version of DAP integration
README: Create a C/C++ Application launch as normal, and in the Launch Configuration dialog click "Select other..." at the bottom/center and selecting GDB (DAP) Debug Process Launcher (you can't do this in the LaunchBar's dialog as it does not support changing the launcher). Then debug as you normally do (with less features so far :-) Change-Id: Ia36acedf064b3774c6ac2a863880eaf7efe9c399
Diffstat (limited to 'debug/org.eclipse.cdt.debug.dap/plugin.xml')
-rw-r--r--debug/org.eclipse.cdt.debug.dap/plugin.xml82
1 files changed, 82 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.dap/plugin.xml b/debug/org.eclipse.cdt.debug.dap/plugin.xml
new file mode 100644
index 0000000000..e113cca1b2
--- /dev/null
+++ b/debug/org.eclipse.cdt.debug.dap/plugin.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ class="org.eclipse.cdt.debug.dap.DAPPreferencePage"
+ category="org.eclipse.cdt.ui.preferences.CPluginPreferencePage"
+ id="org.eclipse.cdt.debug.dap.DAPPreferencePage"
+ name="%PreferencePageTitle">
+ </page>
+ </extension>
+ <extension
+ point="org.eclipse.core.runtime.preferences">
+ <initializer
+ class="org.eclipse.cdt.debug.dap.PreferenceInitializer">
+ </initializer>
+ </extension>
+ <extension point="org.eclipse.debug.core.launchDelegates">
+ <launchDelegate
+ id="org.eclipse.cdt.debug.dap.localCLaunch"
+ type="org.eclipse.cdt.launch.applicationLaunchType"
+ modes="debug"
+ delegate="org.eclipse.cdt.debug.dap.DapLaunchDelegate"
+ name="%launchDelegate.localApplication.name"
+ delegateDescription="%launchDelegate.localApplication.description"
+ sourceLocatorId="org.eclipse.lsp4e.debug.sourceLocator"
+ sourcePathComputerId="org.eclipse.lsp4e.debug.sourcePathComputer">
+ </launchDelegate>
+ </extension>
+
+ <extension
+ point="org.eclipse.debug.ui.launchConfigurationTabs">
+ <!-- Local application launch tabs-->
+ <tab
+ id="org.eclipse.cdt.debug.dap.localApplicationLaunch.mainTab"
+ group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
+ name="%launchTab.main.name"
+ class="org.eclipse.cdt.debug.dap.CMainTab">
+ <associatedDelegate delegate="org.eclipse.cdt.debug.dap.localCLaunch"/>
+ </tab>
+ <tab id="org.eclipse.cdt.debug.dap.localApplicationLaunch.argumentsTab"
+ group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
+ name="%launchTab.arguments.name"
+ class="org.eclipse.cdt.debug.dap.CArgumentsTab">
+ <associatedDelegate delegate="org.eclipse.cdt.debug.dap.localCLaunch"/>
+ <placement after="org.eclipse.cdt.debug.dap.mainTab"/>
+ </tab>
+ <tab
+ id="org.eclipse.cdt.debug.dap.localApplicationLaunch.environmentTab"
+ group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
+ name="%launchTab.environment.name"
+ class="org.eclipse.debug.ui.EnvironmentTab">
+ <associatedDelegate delegate="org.eclipse.cdt.debug.dap.localCLaunch"/>
+ <placement after="org.eclipse.cdt.debug.dap.argumentsTab"/>
+ </tab>
+ <tab
+ id="org.eclipse.cdt.debug.dap.localApplicationLaunch.dspOverrideTab"
+ group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
+ name="%launchTab.dspOverride.name"
+ class="org.eclipse.lsp4e.debug.launcher.DSPOverrideSettingsTab">
+ <associatedDelegate delegate="org.eclipse.cdt.debug.dap.localCLaunch"/>
+ <placement after="org.eclipse.debug.ui.environmentTab"/>
+ </tab>
+ <tab
+ id="org.eclipse.cdt.debug.dap.localApplicationLaunch.sourceLookupTab"
+ group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
+ name="%launchTab.sourceLookup.name"
+ class="org.eclipse.debug.ui.sourcelookup.SourceLookupTab">
+ <associatedDelegate delegate="org.eclipse.cdt.debug.dap.localCLaunch"/>
+ <placement after="org.eclipse.lsp4e.debug.launcher.DSPOverrideSettingsTab"/>
+ </tab>
+ <tab
+ id="org.eclipse.cdt.debug.dap.localApplicationLaunch.commonTab"
+ group="org.eclipse.cdt.launch.applicationLaunchTabGroup"
+ name="%launchTab.common.name"
+ class="org.eclipse.debug.ui.CommonTab">
+ <associatedDelegate delegate="org.eclipse.cdt.debug.dap.localCLaunch"/>
+ <placement after="org.eclipse.debug.ui.sourceLookupTab"/>
+ </tab>
+ </extension>
+</plugin>

Back to the top