summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/xpcshell/xpcshell_debugging_script.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/server/tests/xpcshell/xpcshell_debugging_script.js')
-rw-r--r--devtools/server/tests/xpcshell/xpcshell_debugging_script.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/devtools/server/tests/xpcshell/xpcshell_debugging_script.js b/devtools/server/tests/xpcshell/xpcshell_debugging_script.js
new file mode 100644
index 0000000000..f762b1c3e8
--- /dev/null
+++ b/devtools/server/tests/xpcshell/xpcshell_debugging_script.js
@@ -0,0 +1,11 @@
+dump("hello from the debugee!\n");
+// We should hit the above dump as we set a breakpoint on the first line
+
+/* Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/ */
+
+// This is a file that test_xpcshell_debugging.js debugs.
+
+debugger; // and why not check we hit this!?
+
+dump("try to set a breakpoint here");