Bug 218574
| Summary: | Web Inspector: map source-mapped variable names to source names | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Nikita Vasilyev <nvasilyev> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Nikita Vasilyev
Currently, when debugging source-mapped scripts, the mapped variables names may not match the source variable names.
Referencing these variables in the console doesn't work.
Firefox DevTools has "Scopes [ ] Map" checkbox. https://developer.mozilla.org/en-US/docs/Tools/Debugger/Using_the_Debugger_map_scopes_feature
We should either:
- Do it like Firefox, e.g. add a on/off toggle.
- Always enable it.
<rdar://70778463>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |