mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-155569 Source code does not match appears when the other thread hits a breakpoint
This commit is contained in:
@@ -632,7 +632,9 @@ public class DebuggerSession implements AbstractDebuggerSession {
|
||||
|
||||
final DebuggerContextImpl debuggerContext =
|
||||
DebuggerContextImpl.createDebuggerContext(DebuggerSession.this, suspendContext, currentThread, null);
|
||||
debuggerContext.setPositionCache(position);
|
||||
if (suspendContext.getThread() == currentThread) {
|
||||
debuggerContext.setPositionCache(position);
|
||||
}
|
||||
|
||||
DebuggerInvocationUtil.invokeLater(getProject(), new Runnable() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user