mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
handle missing debugger better
This commit is contained in:
parent
a9e9f9e92b
commit
fe9ea3edcb
1 changed files with 2 additions and 1 deletions
|
@ -78,9 +78,10 @@ public class LocalCLaunchConfigurationDelegate extends AbstractCLaunchDelegate {
|
|||
command.addAll(Arrays.asList(arguments));
|
||||
|
||||
if (mode.equals(ILaunchManager.DEBUG_MODE)) {
|
||||
ICDebugConfiguration dbgCfg = CDebugCorePlugin.getDefault().getDebugConfiguration(config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ID, ""));
|
||||
ICDebugConfiguration dbgCfg = null;
|
||||
ICDebugger cdebugger = null;
|
||||
try {
|
||||
dbgCfg = CDebugCorePlugin.getDefault().getDebugConfiguration(config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_ID, ""));
|
||||
cdebugger = dbgCfg.getDebugger();
|
||||
}
|
||||
catch (CoreException e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue