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.

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.

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

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.

1 participant