1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 246581 - [run control] SteppingController fails to synchronize stepping

This commit is contained in:
Anton Leherbauer 2008-09-10 13:06:57 +00:00
parent 2fe6ba6149
commit 03ac321f7a

View file

@ -399,9 +399,6 @@ public final class SteppingController implements IStepQueueManager
* @param execCtx * @param execCtx
*/ */
private void processStepQueue(final IExecutionDMContext execCtx) { private void processStepQueue(final IExecutionDMContext execCtx) {
if (isSteppingDisabled(execCtx)) {
return;
}
final List<StepRequest> queue = getStepQueue(execCtx); final List<StepRequest> queue = getStepQueue(execCtx);
if (queue != null) { if (queue != null) {
final int stepDelay = getStepDelay(execCtx); final int stepDelay = getStepDelay(execCtx);
@ -415,9 +412,12 @@ public final class SteppingController implements IStepQueueManager
} }
final StepRequest request = queue.get(0); final StepRequest request = queue.get(0);
if (!request.inProgress) { if (!request.inProgress) {
if (isSteppingDisabled(request.fContext)) {
return;
}
request.inProgress = true; request.inProgress = true;
getRunControl().canStep( getRunControl().canStep(
execCtx, request.fStepType, request.fContext, request.fStepType,
new DataRequestMonitor<Boolean>(getExecutor(), null) { new DataRequestMonitor<Boolean>(getExecutor(), null) {
@Override @Override
protected void handleCompleted() { protected void handleCompleted() {