Skip to content

Print all failed assertion expressions#4489

Open
roystgnr wants to merge 2 commits into
libMesh:develfrom
roystgnr:print_assertion
Open

Print all failed assertion expressions#4489
roystgnr wants to merge 2 commits into
libMesh:develfrom
roystgnr:print_assertion

Conversation

@roystgnr

@roystgnr roystgnr commented Jul 2, 2026

Copy link
Copy Markdown
Member

We print all the specialized assertions' expressions, but in the general case we've apparently just been relying on file/line output, which is less friendly.

We print all the specialized assertions' expressions, but in the general
case we've apparently just been relying on file/line output, which is
less friendly.
@roystgnr

roystgnr commented Jul 2, 2026

Copy link
Copy Markdown
Member Author

And to boot, our file/line-number output is a bit obscured, because we print it after the stack trace, which only lists function names. Maybe I should move that while I'm at it...

Two experienced developers today (including myself) both failed to
notice that we were printing this data at all, because our eyes glazed
over after a dozen or two stack frames.
@moosebuild

Copy link
Copy Markdown

Job Coverage, step Generate coverage on 5eefca0 wanted to post the following:

Coverage

c71646 #4489 5eefca
Total Total +/- New
Rate 65.61% 65.61% - 100.00%
Hits 78651 78651 - 1
Misses 41234 41234 - 0

Diff coverage report

Full coverage report

This comment will be updated on new commits.

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