1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00

the variable to check is debugMode not mode.

This commit is contained in:
Alain Magloire 2002-08-29 03:39:17 +00:00
parent dd5492be14
commit b2f550ad38

View file

@ -115,7 +115,7 @@ public class LocalCLaunchConfigurationDelegate extends AbstractCLaunchDelegate {
config.getAttribute( config.getAttribute(
ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE, ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE,
ICDTLaunchConfigurationConstants.DEBUGGER_MODE_RUN); ICDTLaunchConfigurationConstants.DEBUGGER_MODE_RUN);
if (mode.equals(ICDTLaunchConfigurationConstants.DEBUGGER_MODE_RUN)) { if (debugMode.equals(ICDTLaunchConfigurationConstants.DEBUGGER_MODE_RUN)) {
dsession = cdebugger.createLaunchSession(config, exe); dsession = cdebugger.createLaunchSession(config, exe);
} }
else if (debugMode.equals(ICDTLaunchConfigurationConstants.DEBUGGER_MODE_ATTACH)) { else if (debugMode.equals(ICDTLaunchConfigurationConstants.DEBUGGER_MODE_ATTACH)) {