[debugger] Refactoring: remove redundant myAnotherThreadToFocus field and allow reset myThread

GitOrigin-RevId: 652e093960e337cf5ecdad3d5f91a905a239292f
This commit is contained in:
Alexey Merkulov
2024-03-25 19:09:06 +01:00
committed by intellij-monorepo-bot
parent 3ae3e0de64
commit 354d017bb7
8 changed files with 45 additions and 47 deletions

View File

@@ -457,14 +457,6 @@ public abstract class DebuggerTestCase extends ExecutionWithDebuggerToolsTestCas
}
protected static StackFrameProxyImpl getFrameProxy(@NotNull SuspendContextImpl suspendContext) {
if (suspendContext.getAnotherThreadToFocus() != null) {
try {
return suspendContext.getAnotherThreadToFocus().frame(0);
}
catch (EvaluateException e) {
throw new RuntimeException(e);
}
}
return suspendContext.getFrameProxy();
}