mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
run-to-cursor breakpoint to use suspend policy consistent with the current suspend context
This commit is contained in:
@@ -1463,9 +1463,10 @@ public abstract class DebugProcessImpl implements DebugProcess {
|
||||
breakpointManager.disableBreakpoints(DebugProcessImpl.this);
|
||||
}
|
||||
applyThreadFilter(getContextThread());
|
||||
myRunToCursorBreakpoint.SUSPEND_POLICY = DebuggerSettings.SUSPEND_ALL;
|
||||
final SuspendContextImpl context = getSuspendContext();
|
||||
myRunToCursorBreakpoint.SUSPEND_POLICY = context.getSuspendPolicy() == EventRequest.SUSPEND_EVENT_THREAD? DebuggerSettings.SUSPEND_THREAD : DebuggerSettings.SUSPEND_ALL;
|
||||
myRunToCursorBreakpoint.LOG_ENABLED = false;
|
||||
myRunToCursorBreakpoint.createRequest(getSuspendContext().getDebugProcess());
|
||||
myRunToCursorBreakpoint.createRequest(context.getDebugProcess());
|
||||
DebugProcessImpl.this.myRunToCursorBreakpoint = myRunToCursorBreakpoint;
|
||||
super.contextAction();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user