mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
[debugger] Refactoring: remove redundant myAnotherThreadToFocus field and allow reset myThread
GitOrigin-RevId: 652e093960e337cf5ecdad3d5f91a905a239292f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3ae3e0de64
commit
354d017bb7
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user