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

Restore black market access in debugger #99

Open
gbracha opened this issue Jan 20, 2022 · 1 comment
Open

Restore black market access in debugger #99

gbracha opened this issue Jan 20, 2022 · 1 comment
Assignees

Comments

@gbracha
Copy link
Member

gbracha commented Jan 20, 2022

Squeak-based Newspeak had a feature that allows one to access elements that are not in scope while debugging. We need to support this in the web version. Indeed, this mechanism has uses throughout the IDE, in object presenters and methd evaluators, when defining exemplars etc. It may be worth extending it to provide convenient access to non-public members, to pre-existing exemplar data etc.

@gbracha
Copy link
Member Author

gbracha commented Jan 20, 2022

Looking in to this, I can see that the feature was taken out a few years ago. It was replaced by a facility to specify an enclosing scope. The intent is to provide a scope where the top level scope is available via _. That was a mistake. Using a scope to provide it instead of a special syntax is broken, because _ is a legal message name. Normal code has different meaning when debugging, and also normal code can prevent access to the black market. The original design recognized this issue and defined a extended language for debugging and other IDE interactions. In any case, even the _ access doesn't function right now.

@gbracha gbracha self-assigned this Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant