Updates:
Status: PendingFurtherInfo
Comment #2 on issue 1178 by [email protected]: new Function('var break =
1;'); crashes under debugger
http://code.google.com/p/v8/issues/detail?id=1178
I have not been able to reproduce this neither in Chrome 11 nor in the D8
shell. If I open the Chrome DevTools in Chrome 11 I just get 'SyntaxError:
Unexpected token break' when evaluating 'new Function('var break = 1;');'
Running D8 also seems to produce the right answer:
$ ./d8 --debugger
V8 version 3.1.6 (candidate) [console: dumb]
JavaScript debugger enabled
d8> debugger
break in [anonymous](), (d8) line 1 column 1
debugger
^
dbg> enable exceptions all
Break on all exceptions: enabled
dbg> c
(running)
d8> new Function('var break = 1;')
Uncaught: "SyntaxError: Unexpected token break", line 1 column 1
undefined
dbg> bt
Frames #0 to #1 of 2
#00 new Function(a=var break = 1;) [no source]
#01 [anonymous]() (d8) line 1 column 1 (position 1)
dbg>
Could you please provide more information on how to reproduce.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev