mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
Prevent SimpleColoredTextIcon from fetching coroutine stack frame data
(cherry picked from commit 64ffb00f4cf080017d3a4a4c5cb94e4a31a98b73) IJ-MR-12400 GitOrigin-RevId: cff47b93000f6fb794ed2ad06e9654e5a95f4dab
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4b595076e4
commit
7f50e457ae
@@ -58,8 +58,9 @@ class CoroutineStackTraceProvider(private val executionContext: DefaultExecution
|
||||
if (baseContinuationImpl != null) {
|
||||
restoredBaseContinuationImpl.add(baseContinuationImpl)
|
||||
observedFrame = baseContinuationImpl.nextContinuation
|
||||
} else
|
||||
} else {
|
||||
break
|
||||
}
|
||||
}
|
||||
return restoredBaseContinuationImpl
|
||||
}
|
||||
|
||||
@@ -113,8 +113,7 @@ class SimpleColoredTextIconPresentationRenderer {
|
||||
|
||||
val icon = fromState(infoData.descriptor.state)
|
||||
|
||||
val hasChildren = infoData.stackTrace.isNotEmpty() || infoData.creationStackTrace.isNotEmpty()
|
||||
val label = SimpleColoredTextIcon(icon, hasChildren)
|
||||
val label = SimpleColoredTextIcon(icon, !infoData.isCreated())
|
||||
label.append("\"")
|
||||
label.appendValue(infoData.descriptor.formatName())
|
||||
label.append("\": ${infoData.descriptor.state}")
|
||||
|
||||
@@ -70,7 +70,6 @@ class XCoroutineView(val project: Project, val session: XDebugSession) :
|
||||
|
||||
private fun createToolbar(): ActionToolbarImpl {
|
||||
val framesGroup = DefaultActionGroup()
|
||||
//val actionsManager = CommonActionsManager.getInstance()
|
||||
framesGroup
|
||||
.addAll(ActionManager.getInstance().getAction(XDebuggerActions.FRAMES_TOP_TOOLBAR_GROUP))
|
||||
val toolbar = ActionManager.getInstance().createActionToolbar(
|
||||
|
||||
Reference in New Issue
Block a user