Skip to content

[Patterns] Debugger seems to show some internal implementation variables #51512

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

Closed
Tracked by #49765
a-siva opened this issue Feb 23, 2023 · 4 comments
Closed
Tracked by #49765
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. P2 A bug or feature request we're likely to work on vm-service The VM Service Protocol, both the specification and its implementation
Milestone

Comments

@a-siva
Copy link
Contributor

a-siva commented Feb 23, 2023

When debugging an app which uses patterns we seem to show synthetic variables.
The vm service has a way of filtering synthetic variables and it appears that these variables are not following that pattern.

See image below for an example :
image

@a-siva a-siva added area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. vm-service The VM Service Protocol, both the specification and its implementation labels Feb 23, 2023
@a-siva a-siva added this to the Dart 3 beta 3 milestone Feb 23, 2023
@a-siva a-siva added the P2 A bug or feature request we're likely to work on label Feb 23, 2023
@a-siva
Copy link
Contributor Author

a-siva commented Feb 23, 2023

@stevemessick
Copy link
Contributor

Thanks @a-siva ! FWIW I have also seen synthetic variables that begin with a single #.

@a-siva
Copy link
Contributor Author

a-siva commented Feb 25, 2023

Thanks @a-siva ! FWIW I have also seen synthetic variables that begin with a single #.

The VM has code to filter out names that start with ':', the '#' and '##' patterns is new, Alex is going to chat with the CFE team and figure out a consistent pattern for these synthetic variables so that they are filtered out.

@alexmarkov
Copy link
Contributor

This is blocked on #51554. Once front-end introduces a proper way to distinguish synthetic variables, we would be able to filter those variables in the VM/debugger.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. P2 A bug or feature request we're likely to work on vm-service The VM Service Protocol, both the specification and its implementation
Projects
None yet
Development

No branches or pull requests

3 participants