Bug 19052 - Local variables should be accessible in the console when a script is paused
Summary: Local variables should be accessible in the console when a script is paused
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://webkit.org/demos/drosera
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2008-05-14 12:19 PDT by Anthony Ricaud
Modified: 2008-05-16 13:50 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Ricaud 2008-05-14 12:19:22 PDT
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 "
Comment 1 Timothy Hatcher 2008-05-16 13:50:14 PDT
Landed in r33527.