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

Remove leftover debug messages in raise.cr #6343

Conversation

hugoabonizio
Copy link
Contributor

SSIA

Copy link
Member

@asterite asterite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are useful when we find bugs in the exception handling code. It doesn't hurt to keep them.

@jkthorne
Copy link
Contributor

jkthorne commented Jul 6, 2018

what about wrapping them in a debug conditional?

@ysbaddaden
Copy link
Contributor

I struggled with exceptions on ARM and damn, they helped a lot. Keep 'em in, commented, because they're useless to 99.99% of users they'd just clutter the compiler with macros for each and every compilation.

@RX14
Copy link
Contributor

RX14 commented Jul 7, 2018

I think this is fine as-is

@RX14 RX14 closed this Jul 7, 2018
@hugoabonizio
Copy link
Contributor Author

@ysbaddaden makes sense, just one question: why they are more useful on raise.cr than on other files?

@RX14
Copy link
Contributor

RX14 commented Jul 8, 2018

Because when raise breaks it's harder to debug. And raise breaks quite often (for example - it's broken on windows right now)

@hugoabonizio
Copy link
Contributor Author

Thanks for clarifying!

@hugoabonizio hugoabonizio deleted the doc/remove-leftover-messages branch July 9, 2018 13:44
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.

None yet

5 participants