1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +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(
ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE,
ICDTLaunchConfigurationConstants.DEBUGGER_MODE_RUN);
if (mode.equals(ICDTLaunchConfigurationConstants.DEBUGGER_MODE_RUN)) {
if (debugMode.equals(ICDTLaunchConfigurationConstants.DEBUGGER_MODE_RUN)) {
dsession = cdebugger.createLaunchSession(config, exe);
}
else if (debugMode.equals(ICDTLaunchConfigurationConstants.DEBUGGER_MODE_ATTACH)) {