[debugger] IDEA-352355 support state flows via instrumentation

GitOrigin-RevId: b0a5a8a5ddcc4e3f5f6c8bd54bec4617ab32cf92
This commit is contained in:
Alexander Kuznetsov
2024-10-04 00:30:06 +00:00
committed by intellij-monorepo-bot
parent 1fecc3bff5
commit cc106e43d3
3 changed files with 11 additions and 6 deletions
@@ -7,19 +7,19 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library name="debugger-agent" type="repository">
<properties include-transitive-deps="false" maven-id="org.jetbrains.intellij.deps:debugger-agent:1.35">
<properties include-transitive-deps="false" maven-id="org.jetbrains.intellij.deps:debugger-agent:1.40">
<verification>
<artifact url="file://$MAVEN_REPOSITORY$/org/jetbrains/intellij/deps/debugger-agent/1.35/debugger-agent-1.35.jar">
<sha256sum>9001b25c08cb408ceeb419d13000e0bbdd4d75d50d8be52dc8705edc05961642</sha256sum>
<artifact url="file://$MAVEN_REPOSITORY$/org/jetbrains/intellij/deps/debugger-agent/1.40/debugger-agent-1.40.jar">
<sha256sum>5bf227b6c3dec2d9b025b1e57510f2df644e7211f32dd0973a04e707b45e4c36</sha256sum>
</artifact>
</verification>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/intellij/deps/debugger-agent/1.35/debugger-agent-1.35.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/intellij/deps/debugger-agent/1.40/debugger-agent-1.40.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/intellij/deps/debugger-agent/1.35/debugger-agent-1.35-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/intellij/deps/debugger-agent/1.40/debugger-agent-1.40-sources.jar!/" />
</SOURCES>
</library>
</orderEntry>
@@ -217,6 +217,9 @@ public class RemoteConnectionBuilder {
if (Registry.is("debugger.async.stacks.flows", false)) {
parametersList.addProperty("kotlinx.coroutines.debug.enable.flows.stack.trace", "true");
}
if (Registry.is("debugger.async.stacks.state.flows", false)) {
parametersList.addProperty("kotlinx.coroutines.debug.enable.mutable.state.flows.stack.trace", "true");
}
}
if (!Registry.is("debugger.async.stack.trace.for.exceptions.printing", false)) {
parametersList.addProperty("debugger.agent.support.throwable", "false");
@@ -585,7 +585,9 @@ debugger.collection.watchpoints.enabled=false
debugger.async.stacks.coroutines=true
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.flows.description=Enable async stack traces for MutableSharedFlow
debugger.async.stacks.state.flows=false
debugger.async.stacks.state.flows.description=Enable async stack traces for MutableStateFlow
debugger.async.stacks.max.depth=500
debugger.async.stacks.max.depth.description=Maximum depth of captured async stacks
debugger.log.async.stacks=false