blob: 43a63e240e442dbf9ddfb5f960359adab2de7e13 [file] [log] [blame]
function test()
for (var i = 0; i < 1; ++i)
Test for <a href="">Bug 22004: Can't set a breakpoint on the statement after a single line "for"</a>.
Start a debugging session in the Web Inspector and open this file. When the debugger breaks, select the (program) node
in the call stack, you should see the execution line on the call to test().
Also set a breakpoint on the call to test(), and reload. It should break before the test() function is called.