Status: Accepted
Owner: ----
CC: [email protected], [email protected], [email protected], [email protected]
Labels: Type-Bug Priority-Medium

New issue 2146 by [email protected]: Function name inference sometimes provides wrong names
http://code.google.com/p/v8/issues/detail?id=2146

Repro steps:
1) Goto http://benvanik.github.com/WebGL-Inspector/samples/lesson05/embedded.html 2) Add a breakpoint in the script "gli.all.js" at line 9291: this.traceView.setFrame(frame);
3) Click on the Capture button in the upper right corner of the web page
4) Observe the debugger stopped
5) There will be several wrong names in the call stack: "scrollStates", "self", "original_setInterval" - looks like all of them should be "(anonymous function)"

The stack trace I see:

scrollStates (/WebGL-Inspector/core/lib/gli.all.js:9291)
EventSource.fire (/WebGL-Inspector/core/lib/gli.all.js:873)
LeftListing.selectValue (/WebGL-Inspector/core/lib/gli.all.js:7192)
Window.appendFrame (/WebGL-Inspector/core/lib/gli.all.js:6993)
self (/WebGL-Inspector/core/lib/gli.all.js:3130)
stopCapturing (/WebGL-Inspector/core/lib/gli.all.js:1854)
frameSeparator (/WebGL-Inspector/core/lib/gli.all.js:1873)
(anonymous function) (/WebGL-Inspector/core/lib/gli.all.js:2013)
EventSource.fire (/WebGL-Inspector/core/lib/gli.all.js:873)
frameEnded (/WebGL-Inspector/core/lib/gli.all.js:1862)
frameEndedWrapper (/WebGL-Inspector/core/lib/gli.all.js:2024)
EventSource.fire (/WebGL-Inspector/core/lib/gli.all.js:873)
original_setInterval (/WebGL-Inspector/core/lib/gli.all.js:2219)


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to