Home | History | Annotate | Download | only in manual_tests
      1 <script>
      2 function test()
      3 {
      4     debugger;
      5 }
      6 
      7 for (var i = 0; i < 1; ++i)
      8     test();
      9 </script>
     10 
     11 <p>To test, open the DevTools (Ctrl+Shift+I) and reload the page. When the debugger breaks, select the
     12 (anonymous function) node in the call stack, you should see the execution line on the call to test().</p>
     13 <br><br>
     14 Also set a breakpoint on the call to test(), and reload. It should break before the test() function is called.
     15