WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
Test
debugger-pause-on-else-statements.html (text/html), 566 bytes, created by
Timothy Hatcher
on 2008-10-31 11:09:52 PDT
(
hide
)
Description:
Test
Filename:
MIME Type:
Creator:
Timothy Hatcher
Created:
2008-10-31 11:09:52 PDT
Size:
566 bytes
patch
obsolete
><script> >function test() >{ > debugger; >} > >for (var i = 0; i < 1; ++i) > test(); ></script> > >Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=21944">Bug 21944: Can't set a breakpoint on the statement after a single line "for"</a>. ><br><br> >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(). ><br><br> >Also set a breakpoint on the call to test(), and reload. It should break before the test() function is called.
<script> function test() { debugger; } for (var i = 0; i < 1; ++i) test(); </script> Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=21944">Bug 21944: Can't set a breakpoint on the statement after a single line "for"</a>. <br><br> 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(). <br><br> Also set a breakpoint on the call to test(), and reload. It should break before the test() function is called.
View Attachment As Raw
Actions:
View
Attachments on
bug 22004
: 24802 |
24804