summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2011-09-23 22:28:32 +0700
committerRyan Dahl <ry@tinyclouds.org>2011-09-23 13:42:41 -0700
commite406613ee552bf87837dc7cbbfdba8a6b7caf2c6 (patch)
tree6064886ece53097afec84bf0832e5659686a4284 /test/fixtures
parent78d91ff07475e75a4fd2ded66ea10b9f2267b60b (diff)
downloadnode-new-e406613ee552bf87837dc7cbbfdba8a6b7caf2c6.tar.gz
test-debugger-repl improvements
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/breakpoints.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/fixtures/breakpoints.js b/test/fixtures/breakpoints.js
new file mode 100644
index 0000000000..ec6c526aa4
--- /dev/null
+++ b/test/fixtures/breakpoints.js
@@ -0,0 +1,16 @@
+// wrapper line
+debugger;
+debugger;
+function a(x) {
+ var i = 10;
+ while (--i != 0);
+ debugger;
+ return i;
+};
+function b() {
+ return ['hello', 'world'].join(' ');
+};
+a();
+a(1);
+b();
+b();