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

Allow assignment in Chrome inspector console #5271

Open
wdanilo opened this issue Feb 5, 2023 · 0 comments
Open

Allow assignment in Chrome inspector console #5271

wdanilo opened this issue Feb 5, 2023 · 0 comments
Assignees
Labels
-compiler p-low Low priority x-new-feature Type: new feature request

Comments

@wdanilo
Copy link
Member

wdanilo commented Feb 5, 2023

This task is automatically imported from the old Task Issue Board and it was originally created by Pavel Marek.
Original issue is here.


Assignment is currently forbidden in Chrome inspector console, but it would generally be very useful. If we have assignment in the console, we effectively have a good functioning REPL.

Adding assignment should not be difficult - just assign the newly created variable to a fresh Frame instance, then copy it from there to an existing Frame instance of the function at the top of the call stack as an auxiliary value. And also, obviously, add support for auxiliary values in DebugLocalScope.

Related issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-compiler p-low Low priority x-new-feature Type: new feature request
Projects
None yet
Development

No branches or pull requests

2 participants