Skip to content

Improve variables view #308

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

nya3jp
Copy link
Contributor

@nya3jp nya3jp commented Jan 27, 2025

We used to have two scopes of variables, "locals" and "arguments". However, VM somehow returns incorrect results for
LocalVariable#isArgument(), so we presented confusing views to users. Since it's not very important to distinguish arguments and local variables, we now include them in the same "locals" scope.

Instead, we introduce the new "fields" scope containing fields of the current object (aka "this").

And finally, we now support inspecting the hierarchy of objects.

We used to have two scopes of variables, "locals" and "arguments".
However, VM somehow returns incorrect results for
LocalVariable#isArgument(), so we presented confusing views to users.
Since it's not very important to distinguish arguments and local
variables, we now include them in the same "locals" scope.

Instead, we introduce the new "fields" scope containing fields of the
current object (aka "this").

And finally, we now support inspecting the hierarchy of objects.
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