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

Better stack traces for Guile #17

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rgherdt
Copy link
Contributor

@rgherdt rgherdt commented Dec 15, 2024

  • simplify code for collecting frames
  • implement $frame-var-value
  • use frame-call-represention to display Frame as a line
  • remove dead code

- set prompt to limit backtrace (requires introducing $eval)
- simplify code for collecting frames
- implement $frame-var-value
- use frame-call-represention to display Frame as a line
Using prompt seemed to be a good idea to limit Guile's backtrace. Unfortunately
it would mean, that one would have to set prompt on every command  evaluating
code (like slime:load-file). A simpler approach is to narrow the stack to the
most recent stack-stack. The backtrace has more stuff than when using the REPL,
but it's IMHO not a big deal.
@rgherdt rgherdt force-pushed the improve_guile_backtrace branch from 99b5ace to d54ec5e Compare December 15, 2024 16:37
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.

1 participant