mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
[debugger] IDEA-352355 registry key to enable async stack traces for flows
GitOrigin-RevId: 8fea2b87f4e33369a583f720ffb1d4ca137173ea
This commit is contained in:
committed by
intellij-monorepo-bot
parent
97111e7f7c
commit
42e63cac7e
@@ -245,6 +245,9 @@ public class RemoteConnectionBuilder {
|
|||||||
if (Registry.is("debugger.async.stacks.coroutines", false)) {
|
if (Registry.is("debugger.async.stacks.coroutines", false)) {
|
||||||
parametersList.addProperty("kotlinx.coroutines.debug.enable.creation.stack.trace", "false");
|
parametersList.addProperty("kotlinx.coroutines.debug.enable.creation.stack.trace", "false");
|
||||||
parametersList.addProperty("debugger.agent.enable.coroutines", "true");
|
parametersList.addProperty("debugger.agent.enable.coroutines", "true");
|
||||||
|
if (Registry.is("debugger.async.stacks.flows", false)) {
|
||||||
|
parametersList.addProperty("kotlinx.coroutines.debug.enable.flows.stack.trace", "true");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -584,6 +584,8 @@ debugger.capture.points.annotations=false
|
|||||||
debugger.collection.watchpoints.enabled=false
|
debugger.collection.watchpoints.enabled=false
|
||||||
debugger.async.stacks.coroutines=true
|
debugger.async.stacks.coroutines=true
|
||||||
debugger.async.stacks.coroutines.description=Enable async stack traces for coroutines
|
debugger.async.stacks.coroutines.description=Enable async stack traces for coroutines
|
||||||
|
debugger.async.stacks.flows=false
|
||||||
|
debugger.async.stacks.flows.description=Enable async stack traces for Kotlin flows (MutableSharedFlow and MutableStateFlow)
|
||||||
debugger.async.stacks.max.depth=500
|
debugger.async.stacks.max.depth=500
|
||||||
debugger.async.stacks.max.depth.description=Maximum depth of captured async stacks
|
debugger.async.stacks.max.depth.description=Maximum depth of captured async stacks
|
||||||
debugger.log.async.stacks=false
|
debugger.log.async.stacks=false
|
||||||
|
|||||||
Reference in New Issue
Block a user