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:
parent
1058d3caf2
commit
8a2aca5fd2
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue