diff options
Diffstat (limited to 'devtools/client/debugger/new/test/mochitest/examples/doc-debugger-statements.html')
-rw-r--r-- | devtools/client/debugger/new/test/mochitest/examples/doc-debugger-statements.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/devtools/client/debugger/new/test/mochitest/examples/doc-debugger-statements.html b/devtools/client/debugger/new/test/mochitest/examples/doc-debugger-statements.html new file mode 100644 index 000000000..967619d31 --- /dev/null +++ b/devtools/client/debugger/new/test/mochitest/examples/doc-debugger-statements.html @@ -0,0 +1,27 @@ +<html> + <head> + <title>Debugger Statements</title> + </head> + + <body> + <script> + debugger; + test(); + + function test() { + debugger; + stepIntoMe(); + } + + function stepIntoMe() { + // step in + stepOverMe(); + // step out + } + + function stepOverMe() { + } + </script> + </body> + +</html> |