Bug 144977
| Summary: | Make lexical scoping work well with the debugger | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Saam Barati <saam> |
| Component: | JavaScriptCore | Assignee: | Saam Barati <saam> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bburg, benjamin, fpizlo, ggaren, joepeck, jonowells, mark.lam, mmirman, msaboff, oliver |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 142944 | ||
| Bug Blocks: | |||
Saam Barati
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
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.