Skip to content

Conversation

@riggaroo
Copy link
Collaborator

@riggaroo riggaroo commented Dec 1, 2025

Demo how to enable diagnostic stack traces in Jetpack Compose for improved debugging.

Note: You need Kotlin 2.3 and R8 enabled to make GroupKeys option work

Demo how to enable diagnostic stack traces in Jetpack Compose for improved debugging.

The snippet shows how to conditionally enable `ComposeStackTraceMode.Auto` in the `Application.onCreate` method for debug builds, while keeping it disabled in release builds to avoid performance overhead.
@snippet-bot
Copy link

snippet-bot bot commented Dec 1, 2025

Here is the summary of changes.

You are about to add 1 region tag.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@compose-devrel-github-bot compose-devrel-github-bot requested a review from a team as a code owner December 8, 2025 14:56
@riggaroo riggaroo merged commit 57e33ce into main Dec 8, 2025
4 checks passed
@riggaroo riggaroo deleted the riggaroo/stacktraces branch December 8, 2025 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants