diff options
| author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-16 13:02:20 +0000 |
|---|---|---|
| committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-16 13:02:20 +0000 |
| commit | 4f118c40a1912133ab1813453284c141ff128e04 (patch) | |
| tree | cef93cb28a4f4ce90aa3f05aeed7c70aeffe0930 /chrome/browser/debugger/manual_tests/debugger-pause-on-for-statements.html | |
| parent | c30be65cbb05cefcb0ddeb730aa1965d83d8f7d2 (diff) | |
| download | chromium_src-4f118c40a1912133ab1813453284c141ff128e04.zip chromium_src-4f118c40a1912133ab1813453284c141ff128e04.tar.gz chromium_src-4f118c40a1912133ab1813453284c141ff128e04.tar.bz2 | |
DevTools: Add some devtools manual tests.
Review URL: http://codereview.chromium.org/385134
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32053 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/debugger/manual_tests/debugger-pause-on-for-statements.html')
| -rw-r--r-- | chrome/browser/debugger/manual_tests/debugger-pause-on-for-statements.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/browser/debugger/manual_tests/debugger-pause-on-for-statements.html b/chrome/browser/debugger/manual_tests/debugger-pause-on-for-statements.html new file mode 100644 index 0000000..1a9e274 --- /dev/null +++ b/chrome/browser/debugger/manual_tests/debugger-pause-on-for-statements.html @@ -0,0 +1,14 @@ +<script> +function test() +{ + debugger; +} + +for (var i = 0; i < 1; ++i) + test(); +</script> + +<p>To test, open the DevTools (Ctrl+Shift+I) and reload the page. When the debugger breaks, select the +(anonymous function) node in the call stack, you should see the execution line on the call to test().</p> +<br><br> +Also set a breakpoint on the call to test(), and reload. It should break before the test() function is called. |
