summaryrefslogtreecommitdiff
path: root/test/fixtures/breakpoints_utf8.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-02-26 16:42:47 -0800
committerisaacs <i@izs.me>2013-02-26 16:49:17 -0800
commitec378aaa690dee25b34a696bd893f646ab4616d1 (patch)
tree88c8f50bfb973871dcfc33a47f04c101b5ed23d8 /test/fixtures/breakpoints_utf8.js
parent57f9f048d3081da3bea2223842ba90b7b618ee38 (diff)
downloadnode-new-ec378aaa690dee25b34a696bd893f646ab4616d1.tar.gz
test: Fix debugger repl tests
This makes the output of simple/test-debugger-repl and simle/test-debugger-repl-utf8 mirror an actual debugger session, so it's a bit easier to reason about. Also, it uses the same code for both, and fixes it so that it doesn't leave zombie processes lying around when it crashes. Run 1000 times without any failures or zombies.
Diffstat (limited to 'test/fixtures/breakpoints_utf8.js')
-rw-r--r--test/fixtures/breakpoints_utf8.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/fixtures/breakpoints_utf8.js b/test/fixtures/breakpoints_utf8.js
index cd05c76023..8f0eb9dfc1 100644
--- a/test/fixtures/breakpoints_utf8.js
+++ b/test/fixtures/breakpoints_utf8.js
@@ -17,3 +17,7 @@ b();
setInterval(function() {
}, 5000);
+
+
+now = new Date();
+debugger;