WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
144977
Make lexical scoping work well with the debugger
https://bugs.webkit.org/show_bug.cgi?id=144977
Summary
Make lexical scoping work well with the debugger
Saam Barati
Reported
2015-05-13 18:02:11 PDT
Currently, it looks like the debugger will evaluate code inside the function's scope, and not the currently executing lexical scope. This can be seen when setting a breakpoint and executing code in the console.
Attachments
Add attachment
proposed patch, testcase, etc.
Saam Barati
Comment 1
2015-08-04 12:06:26 PDT
This should probably be as simple as adding a new scope type so we don't show let/const variables as "closure variables" when they're really in the current call frame.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug