-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Implement Exception::CallStack#frames
#10686
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
base: master
Are you sure you want to change the base?
Conversation
915864f
to
22945d2
Compare
22945d2
to
92ee0ee
Compare
No force pushes please 🙏 |
line : Int32?, | ||
column : Int32?, | ||
name : String?, | ||
sname : String?, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's sname
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It comes from LibC::DlInfo#dli_sname
(Name of symbol whose definition overlaps addr).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not expose this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It helps with clean API and I don't see a reason to not to expose it and deny it to consumers.
e7a6883
to
3ea2fe0
Compare
Moar structured form of `Exception::CallStack#printable_backtrace`.
That’s meant to test the CI fails
7f95236
to
f9ed098
Compare
f9ed098
to
bfc2b48
Compare
column : Int32?, | ||
name : String?, | ||
sname : String?, | ||
ip_address : UInt64 do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not expose this either
Adds
Exception::CallStack::Frame
record as a more structured form ofException::CallStack#printable_backtrace
.Resolves #10681