mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
[265199] [run control] SteppingController#doneStepping not called when step fails
This commit is contained in:
parent
cbff20cfc3
commit
fef3325b6f
1 changed files with 3 additions and 1 deletions
|
@ -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
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* 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) {
|
getRunControl().step(execCtx, stepType, new RequestMonitor(getExecutor(), null) {
|
||||||
@Override
|
@Override
|
||||||
protected void handleFailure() {
|
protected void handleFailure() {
|
||||||
|
// in case of a failed step - enable stepping again (bug 265267)
|
||||||
|
enableStepping(execCtx);
|
||||||
if (getStatus().getCode() == IDsfStatusConstants.INVALID_STATE) {
|
if (getStatus().getCode() == IDsfStatusConstants.INVALID_STATE) {
|
||||||
// Ignore errors. During fast stepping there can be expected race
|
// Ignore errors. During fast stepping there can be expected race
|
||||||
// conditions leading to stepping errors.
|
// conditions leading to stepping errors.
|
||||||
|
|
Loading…
Add table
Reference in a new issue