From fef3325b6f1aed6586df04cd15c233c6b3bc2f77 Mon Sep 17 00:00:00 2001 From: Anton Leherbauer Date: Wed, 18 Feb 2009 12:03:50 +0000 Subject: [PATCH] [265199] [run control] SteppingController#doneStepping not called when step fails --- .../cdt/dsf/debug/ui/viewmodel/SteppingController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/SteppingController.java b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/SteppingController.java index 1f7a2890fe8..3d566ab4ea3 100644 --- a/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/SteppingController.java +++ b/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/SteppingController.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2006, 2008 Wind River Systems and others. + * Copyright (c) 2006, 2009 Wind River Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -363,6 +363,8 @@ public final class SteppingController implements IStepQueueManager getRunControl().step(execCtx, stepType, new RequestMonitor(getExecutor(), null) { @Override protected void handleFailure() { + // in case of a failed step - enable stepping again (bug 265267) + enableStepping(execCtx); if (getStatus().getCode() == IDsfStatusConstants.INVALID_STATE) { // Ignore errors. During fast stepping there can be expected race // conditions leading to stepping errors.