Bug 19052
| Summary: | Local variables should be accessible in the console when a script is paused | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Anthony Ricaud <rik> |
| Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | Keywords: | HasReduction |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.5 | ||
| URL: | http://webkit.org/demos/drosera | ||
Anthony Ricaud
When a script is paused, a web developer would like to try some javascript with local variables. But they are not accessible in the console.
Steps to reproduce:
1. Go to http://webkit.org/demos/drosera
2. Open and attach the Inspector's debugger
3. Put a breakpoint in the rot13 function
4. Click the button labelled "Nested Functions"
5. Open the Inspector's console and type "s" and Enter
You'll get a "ReferenceError: Can't find variable: s "
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Timothy Hatcher
Landed in r33527.