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

When using --dump_output with file_test, dump stderr directly. #3901

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

jonmeow
Copy link
Contributor

@jonmeow jonmeow commented Apr 22, 2024

Right now, debugging a crash means errs never flushes: it's buffered in the string. As a consequence, -v doesn't print anything. By stopping the output capture in --dump_output, it prints directly for debugging.

@zygoloid zygoloid added this pull request to the merge queue Apr 22, 2024
Merged via the queue into carbon-language:trunk with commit 280a25b Apr 22, 2024
7 checks passed
@jonmeow jonmeow deleted the dump-straight branch April 22, 2024 20:23
chandlerc pushed a commit to chandlerc/carbon-lang that referenced this pull request May 2, 2024
…n-language#3901)

Right now, debugging a crash means errs never flushes: it's buffered in
the string. As a consequence, -v doesn't print anything. By stopping the
output capture in --dump_output, it prints directly for debugging.
CJ-Johnson pushed a commit to CJ-Johnson/carbon-lang that referenced this pull request May 23, 2024
…n-language#3901)

Right now, debugging a crash means errs never flushes: it's buffered in
the string. As a consequence, -v doesn't print anything. By stopping the
output capture in --dump_output, it prints directly for debugging.
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