Comment #2 on issue 1926 by [email protected]: Cannot inspect intercepted
properties in debugger
http://code.google.com/p/v8/issues/detail?id=1926
OK, the bug isn't exactly what I thought. Please try this:
1. Build and run the attached program. It waits for a debugger connection.
2. Attach the Eclipse debugger (Standalone V8 VM) to local port 9222.
3. At this point the program runs the following script:
(function(){debugger;return HostObject.foo;})()
The debugger statement causes a break into Eclipse. All good so far.
4. Now here's the bug. In the script window, if you hover the mouse cursor
over "foo" (an intercepted property) Eclipse shows the value 12345, which
is correct. But if you hover over "HostObject", it
shows "[foo=undefined]".
I can see in the Eclipse debugger console that this is definitely coming
from V8. Here's an excerpt of the "evaluate" command response:
"properties":[{"name":"foo","value":{"ref":4,"type":"undefined"}}]
Attachments:
V8Bug.cpp 988 bytes
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev