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

do not use unsafe_ref_capture #6

Merged
merged 1 commit into from
Aug 11, 2016
Merged

do not use unsafe_ref_capture #6

merged 1 commit into from
Aug 11, 2016

Conversation

plicease
Copy link
Member

The default output for Devel::StackTrace changed with version 2.00. There is an option to turn on the old behavior using unsafe_ref_capture, but the documentation says that this may be unsafe. I suspect that you could in theory be debugging from anywhere, including one of these unsafe constructs, so although the older output is a little more readable, I think not crashing is even better. Here is some more detailed discussion:

https://rt.cpan.org/Public/Bug/Display.html?id=99811

This PR also ups the required version of Devel::StackTrace, so that the old unsafe behavior isn't triggered (and also so that we don't have to have to test two different types of output behavior).

@plicease
Copy link
Member Author

@awwaiid awwaiid merged commit bf336c6 into uperl:master Aug 11, 2016
@plicease plicease deleted the dont-test-dev-stacktrace branch August 11, 2016 11:54
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