mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
reset thread filter at least on thread death to ensure that other breakpoints work after that
This commit is contained in:
@@ -15,10 +15,7 @@
|
||||
*/
|
||||
package com.intellij.debugger.impl;
|
||||
|
||||
import com.intellij.debugger.DebugEnvironment;
|
||||
import com.intellij.debugger.DebuggerBundle;
|
||||
import com.intellij.debugger.DebuggerInvocationUtil;
|
||||
import com.intellij.debugger.SourcePosition;
|
||||
import com.intellij.debugger.*;
|
||||
import com.intellij.debugger.engine.*;
|
||||
import com.intellij.debugger.engine.evaluation.EvaluateException;
|
||||
import com.intellij.debugger.engine.evaluation.EvaluationListener;
|
||||
@@ -756,6 +753,10 @@ public class DebuggerSession implements AbstractDebuggerSession {
|
||||
@Override
|
||||
public void threadStopped(DebugProcess proc, ThreadReference thread) {
|
||||
notifyThreadsRefresh();
|
||||
DebugProcessImpl debugProcess = (DebugProcessImpl)proc;
|
||||
if (debugProcess.getRequestsManager().getFilterThread() == thread) {
|
||||
DebuggerManagerEx.getInstanceEx(proc.getProject()).getBreakpointManager().applyThreadFilter(debugProcess, null);
|
||||
}
|
||||
}
|
||||
|
||||
private void notifyThreadsRefresh() {
|
||||
|
||||
Reference in New Issue
Block a user