From f259d60aa3f6bbbd120acfd461e35f45fef6f7c0 Mon Sep 17 00:00:00 2001 From: ewaterlander <102143930+ewaterlander@users.noreply.github.com> Date: Tue, 10 Dec 2024 18:08:08 +0100 Subject: [PATCH] Debugger and Source tabs for the Core Build launch configuration. (#950) The launch configuration for local Core Build projects got the Debugger and Source tabs in debug mode. Now the user can set the stop at startup, a specific debugger, and all other Debug options as we know from Managed Build projects. The GdbLaunch class automatically picks up all the debug settings from these new tabs. No additional code was needed for that. The composition of Core Build tab groups is now fully done via the launchConfigurationTabGroups extension-point. This change relates to #758. It affects all Core Build projects, including CMake projects. --- .../META-INF/MANIFEST.MF | 2 +- debug/org.eclipse.cdt.debug.core/plugin.xml | 2 - .../META-INF/MANIFEST.MF | 2 +- .../plugin.properties | 1 + dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml | 69 +++++++++++++++++++ dsf-gdb/org.eclipse.cdt.dsf.gdb/plugin.xml | 25 +++---- .../CoreBuildLocalDebugLaunchDelegate.java | 6 -- .../META-INF/MANIFEST.MF | 2 +- .../org.eclipse.cdt.launch/plugin.properties | 1 + launch/org.eclipse.cdt.launch/plugin.xml | 68 +++++++++++++++++- .../LocalLaunchConfigurationTabGroup.java | 33 --------- .../org/eclipse/cdt/launch/ui/CMainTab2.java | 2 +- .../launch/ui/corebuild/CoreBuildMainTab.java | 10 +++ .../ui/corebuild/CoreBuildMainTab2.java | 2 +- .../cdt/launch/ui/corebuild/CoreBuildTab.java | 8 +++ 15 files changed, 170 insertions(+), 63 deletions(-) delete mode 100644 launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/internal/corebuild/LocalLaunchConfigurationTabGroup.java diff --git a/debug/org.eclipse.cdt.debug.core/META-INF/MANIFEST.MF b/debug/org.eclipse.cdt.debug.core/META-INF/MANIFEST.MF index 2789f1a3945..62c69ad6749 100644 --- a/debug/org.eclipse.cdt.debug.core/META-INF/MANIFEST.MF +++ b/debug/org.eclipse.cdt.debug.core/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.cdt.debug.core; singleton:=true -Bundle-Version: 8.8.700.qualifier +Bundle-Version: 8.8.800.qualifier Bundle-Activator: org.eclipse.cdt.debug.core.CDebugCorePlugin Bundle-Vendor: %providerName Bundle-Localization: plugin diff --git a/debug/org.eclipse.cdt.debug.core/plugin.xml b/debug/org.eclipse.cdt.debug.core/plugin.xml index 16958692c9c..fb35d4a081b 100644 --- a/debug/org.eclipse.cdt.debug.core/plugin.xml +++ b/debug/org.eclipse.cdt.debug.core/plugin.xml @@ -464,9 +464,7 @@ diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/META-INF/MANIFEST.MF b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/META-INF/MANIFEST.MF index c79e28c39ba..3ee578ff4b6 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/META-INF/MANIFEST.MF +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-Vendor: %providerName Bundle-SymbolicName: org.eclipse.cdt.dsf.gdb.ui;singleton:=true -Bundle-Version: 2.8.400.qualifier +Bundle-Version: 2.8.500.qualifier Bundle-Activator: org.eclipse.cdt.dsf.gdb.internal.ui.GdbUIPlugin Bundle-Localization: plugin Require-Bundle: org.eclipse.ui, diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.properties b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.properties index bb0e517600e..b16bb26c6db 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.properties +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.properties @@ -28,6 +28,7 @@ launchTab.debugger.name=Debugger launchTab.sourceLookup.name=Source launchTab.common.name=Common launchTab.environment.name=Environment +launchTab.buildsettings.name=Build Settings breakpoints.property.filter=Filter tracepoints.property.common=Common diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml index bc74c689b2f..b22826315ba 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/plugin.xml @@ -150,6 +150,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +