blob: 424fb7eee92ae606579353d739f74ffd5abe885e [file] [log] [blame]
function test()
if (false)
debugger; // This should not be hit.
Test for <a href="">Bug 21944: Can't set a breakpoint on the statement after a single line "else"</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.