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

Support expression evaluation when running #1980

Open
annagrin opened this issue Feb 22, 2023 · 0 comments
Open

Support expression evaluation when running #1980

annagrin opened this issue Feb 22, 2023 · 0 comments
Labels

Comments

@annagrin
Copy link
Contributor

annagrin commented Feb 22, 2023

Expression evaluation in a debugger while running is supported currently on other platforms. Investigate what needs to be done to support it in dwds.

  • Dart code allows evaluation in a root library when app is not paused, but dart DevTools does not

  • dwds does not always give correct root library

    • Add root library to ddc metadata (probably in a new app-level metadata section?)
  • Question: is it possible to support general eval while running (ie pick/find a library to evaluate in?)

    • Should be possible in DevTools, would need UI changes (to pick the library).
    • Is it possible to find the library automatically?

VSCode debugging on MacOS

image

VSCode debugging on chrome

image

@annagrin annagrin added the eval label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant