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:
parent
2fe6ba6149
commit
03ac321f7a
1 changed files with 4 additions and 4 deletions
|
@ -399,9 +399,6 @@ public final class SteppingController implements IStepQueueManager
|
|||
* @param execCtx
|
||||
*/
|
||||
private void processStepQueue(final IExecutionDMContext execCtx) {
|
||||
if (isSteppingDisabled(execCtx)) {
|
||||
return;
|
||||
}
|
||||
final List<StepRequest> queue = getStepQueue(execCtx);
|
||||
if (queue != null) {
|
||||
final int stepDelay = getStepDelay(execCtx);
|
||||
|
@ -415,9 +412,12 @@ public final class SteppingController implements IStepQueueManager
|
|||
}
|
||||
final StepRequest request = queue.get(0);
|
||||
if (!request.inProgress) {
|
||||
if (isSteppingDisabled(request.fContext)) {
|
||||
return;
|
||||
}
|
||||
request.inProgress = true;
|
||||
getRunControl().canStep(
|
||||
execCtx, request.fStepType,
|
||||
request.fContext, request.fStepType,
|
||||
new DataRequestMonitor<Boolean>(getExecutor(), null) {
|
||||
@Override
|
||||
protected void handleCompleted() {
|
||||
|
|
Loading…
Add table
Reference in a new issue