Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable ansi colors for tracing_tracy #16245

Open
TheCodeLamp opened this issue Nov 5, 2024 · 0 comments
Open

Disable ansi colors for tracing_tracy #16245

TheCodeLamp opened this issue Nov 5, 2024 · 0 comments
Labels
A-Dev-Tools Tools used to debug Bevy applications. C-Feature A new feature, making something new possible S-Needs-Design This issue requires design work to think about how it would best be accomplished

Comments

@TheCodeLamp
Copy link

What problem does this solve or what need does it fill?

When profiling using tracy the colors are not rendered and instead obfuscate the span names instead.

What solution would you like?

The ideal solution would be to have this problem be solved in rust_tracy_client, but as a short term solution documenting that setting NO_COLOR makes tracy names much cleaner could work. Another solution would be to maybe add a layer filter to the tracy layer that removes the color values.

What alternative(s) have you considered?

Right now I just set NO_COLOR whenever I need to do profiling.

Additional context

Issue in rust_tracy_client: nagisa/rust_tracy_client#123

Difference with and without NO_COLOR

@TheCodeLamp TheCodeLamp added C-Feature A new feature, making something new possible S-Needs-Triage This issue needs to be labelled labels Nov 5, 2024
@BenjaminBrienen BenjaminBrienen added S-Needs-Design This issue requires design work to think about how it would best be accomplished A-Dev-Tools Tools used to debug Bevy applications. and removed S-Needs-Triage This issue needs to be labelled labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Dev-Tools Tools used to debug Bevy applications. C-Feature A new feature, making something new possible S-Needs-Design This issue requires design work to think about how it would best be accomplished
Projects
None yet
Development

No branches or pull requests

2 participants