GP-2721: Allow thread/frame to remain when focus goes upward

This commit is contained in:
Dan
2022-10-19 15:12:30 -04:00
parent 2308e467cd
commit 222b770bcd
@@ -507,7 +507,8 @@ public class DebuggerCoordinates {
}
TraceThread newThread = resolveThread(recorder, targetObject);
Integer newFrame = resolveFrame(recorder, targetObject);
return new DebuggerCoordinates(trace, platform, recorder, newThread, view, time, newFrame,
return new DebuggerCoordinates(trace, platform, recorder,
newThread == null ? thread : newThread, view, time, newFrame == null ? frame : newFrame,
null);
}