mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[rd][debugger] IJPL-177087 Don't re-send the very same execution stack
GitOrigin-RevId: 3d16ee3c9fcc4d99ba880b368288f448162035a1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d6a649e04b
commit
0d2f2cbba4
-3
@@ -48,9 +48,6 @@ internal class BackendXExecutionStackApi : XExecutionStackApi {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO[IJPL-177087]: executionStackEntity gets removed from DB because new ones come to the flow for some reason,
|
||||
// so addStackFrames may end abruptly, with not all stack frames shown.
|
||||
// Investigate whether it's really needed
|
||||
withEntities(executionStackEntity) {
|
||||
val executionStack = executionStackEntity.obj
|
||||
executionStack.computeStackFrames(firstFrameIndex, object : XExecutionStack.XStackFrameContainer {
|
||||
|
||||
@@ -142,6 +142,7 @@ class XDebugSessionImpl @JvmOverloads constructor(
|
||||
var currentExecutionStack: XExecutionStack?
|
||||
get() = executionStackFlow.value.get()
|
||||
private set(value) {
|
||||
if (executionStackFlow.value.get() === value) return
|
||||
executionStackFlow.value = Ref.create(value)
|
||||
}
|
||||
private val suspendContextFlow = MutableStateFlow<XSuspendContext?>(null)
|
||||
|
||||
Reference in New Issue
Block a user