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

Request stack trace at point of execution without throwing exceptions #871

Open
borkdude opened this issue Feb 4, 2023 · 0 comments
Open

Comments

@borkdude
Copy link
Collaborator

borkdude commented Feb 4, 2023

As a follow up to #774, it has come up that users want to request a stack trace at the point of execution, just for debugging / printing. To facilitate this we should pre-process the stack instead of constructing during an exception such that you have it readily available.

You can see the beginnings of it in this case: (try (/ 1 0) (catch ^:sci/error Exception e)) where the error has one stack element about / but none of the preceding ones, which we can add during analysis time.

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

No branches or pull requests

1 participant