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

Bug 225992

canStep() checks if the context is for the container, and if so, returns false.
This commit is contained in:
Marc Khouzam 2008-07-09 17:17:27 +00:00
parent 1058d3caf2
commit 8a2aca5fd2

View file

@ -529,6 +529,10 @@ public class MIRunControl extends AbstractDsfService implements IRunControl
} }
public void canStep(IExecutionDMContext context, StepType stepType, DataRequestMonitor<Boolean> rm) { public void canStep(IExecutionDMContext context, StepType stepType, DataRequestMonitor<Boolean> rm) {
if (context instanceof IContainerDMContext) {
rm.setData(false);
rm.done();
}
canResume(context, rm); canResume(context, rm);
} }