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

Is there a way to decorate locals with auxilliary information? #703

Open
alanruttenberg opened this issue Feb 1, 2022 · 2 comments
Open

Comments

@alanruttenberg
Copy link
Contributor

I'd like to be able to say which locals were arguments to the function, which were bound inside the function, which are captures in closures. For arguments we have both the initial values available - what they were as arguments, as well as what they are now, if they have changed.

@luismbo
Copy link
Member

luismbo commented Feb 2, 2022

That seems like a great idea. frame-locals-for-emacs in swank.lisp and frame-locals (in each backend) construct a plist for each local. Seems straightforward to add that extra information you suggest.

Then sldb-show-frame-defails can show that information somehow. Maybe it can add a new "Arguments:" section if any of the locals are tagged as being an argument.

@alanruttenberg
Copy link
Contributor Author

Thanks, I'll have a look and maybe put in a PR.

@slime slime deleted a comment from gyntyr Feb 14, 2022
@slime slime deleted a comment from gyntyr Feb 14, 2022
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

2 participants