Skip to content

Extract Exception::CallStack.decode_backtrace_frame helper#15615

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
ysbaddaden:refactor/extract-exception-callback-decode-backtrace-frame-helper-method
Apr 17, 2025
Merged

Extract Exception::CallStack.decode_backtrace_frame helper#15615
straight-shoota merged 1 commit intocrystal-lang:masterfrom
ysbaddaden:refactor/extract-exception-callback-decode-backtrace-frame-helper-method

Conversation

@ysbaddaden
Copy link
Collaborator

Internal refactor: allows to generate a decoded backtrace for any given instruction pointer, without requiring an Array or an Exception::CallStack object.

My use case is crystal-lang/perf-tools#27 where I use slices and where I could merely call this helper method.

@straight-shoota straight-shoota added this to the 1.17.0 milestone Apr 17, 2025
@straight-shoota straight-shoota merged commit f64f89b into crystal-lang:master Apr 17, 2025
36 checks passed
@ysbaddaden ysbaddaden deleted the refactor/extract-exception-callback-decode-backtrace-frame-helper-method branch April 17, 2025 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants