Closed
Conversation
james7132
requested changes
Jan 1, 2024
Member
james7132
left a comment
There was a problem hiding this comment.
This effectively reverts #9390 and re-opens #4892. This also recollects effectively the same stack trace for every system, so it's generally more noise than it's actually beneficial to users.
With the effort @hymm has spent ensuring we get accurate traces while profiling Bevy apps, I am very much against this change as is.
github-merge-queue bot
pushed a commit
that referenced
this pull request
Jan 1, 2024
# Objective When panic handler prints to stdout instead of stderr, I've observed two outcomes with this PR test #11169: - Sometimes output is mixed up, so it is not clear where one record ends and another stards - Sometimes output is lost ## Solution Print to stderr. ## Changelog - Panic handler in `LogPlugin` writes to stderr instead of stdin.
github-merge-queue bot
pushed a commit
that referenced
this pull request
Jan 2, 2024
# Objective To debug issues like #11169. ## Solution When P is pressed in logs example, call `panic!()`. <img width="1392" alt="Screenshot 2024-01-02 at 01 10 16" src="https://github.com/bevyengine/bevy/assets/28969/a788737e-d23c-43a3-bc68-d6c5b0ab88ad">
Member
|
Closing this out then. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
Spans are not recorded correctly for system,
Solution
Do not create spans prematurely.
Test
Modify logs example:
Apply another fix from separate PR #11170.
Run command:
Before:
After:
Changelog