mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[250752] [run control] When stepping out or when a breakpoint is hit, then next step is blocked
This commit is contained in:
parent
2d78ef8f37
commit
bb30f026fc
1 changed files with 3 additions and 1 deletions
|
@ -795,7 +795,7 @@ public class DsfSourceDisplayAdapter implements ISourceDisplay, ISteppingControl
|
|||
@DsfServiceEventHandler
|
||||
public void eventDispatched(final IRunControl.ISuspendedDMEvent e) {
|
||||
updateStepTiming();
|
||||
if (e.getReason() == StateChangeReason.STEP) {
|
||||
if (e.getReason() == StateChangeReason.STEP || e.getReason() == StateChangeReason.BREAKPOINT) {
|
||||
// trigger source display immediately (should be optional?)
|
||||
Display.getDefault().asyncExec(new Runnable() {
|
||||
public void run() {
|
||||
|
@ -808,6 +808,8 @@ public class DsfSourceDisplayAdapter implements ISourceDisplay, ISteppingControl
|
|||
}
|
||||
}
|
||||
}});
|
||||
} else {
|
||||
doneStepping(e.getDMContext());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue