Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: test/inspector/debugger/stepping-tail-call-expected.txt

Issue 2758483002: [debugger] tuned StepNext and StepOut at return position (Closed)
Patch Set: addressed comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/inspector/debugger/stepping-tail-call-expected.txt
diff --git a/test/inspector/debugger/stepping-tail-call-expected.txt b/test/inspector/debugger/stepping-tail-call-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..5755c8b8d44bfd734c54ab3b7149faefc325a9c2
--- /dev/null
+++ b/test/inspector/debugger/stepping-tail-call-expected.txt
@@ -0,0 +1,177 @@
+Checks stepping over tail calls.
+
+Running test: testStepOver
+f (:2:14)
+f (:3:22)
+f (:3:22)
+f (:3:22)
+(anonymous) (:5:0)
+function f(x) {
+ if (x == 2) #debugger;
+ if (x-- > 0) return f(x);
+
+Debugger.stepOver called
+f (:3:2)
+f (:3:22)
+f (:3:22)
+f (:3:22)
+(anonymous) (:5:0)
+ if (x == 2) debugger;
+ #if (x-- > 0) return f(x);
+}
+
+Debugger.stepOver called
+f (:3:15)
+f (:3:22)
+f (:3:22)
+f (:3:22)
+(anonymous) (:5:0)
+ if (x == 2) debugger;
+ if (x-- > 0) #return f(x);
+}
+
+Debugger.stepOver called
+f (:4:0)
+f (:3:22)
+f (:3:22)
+f (:3:22)
+(anonymous) (:5:0)
+ if (x-- > 0) return f(x);
+#}
+f(5);
+
+Debugger.stepOver called
+f (:4:0)
+f (:3:22)
+f (:3:22)
+(anonymous) (:5:0)
+ if (x-- > 0) return f(x);
+#}
+f(5);
+
+Debugger.stepOver called
+f (:4:0)
+f (:3:22)
+(anonymous) (:5:0)
+ if (x-- > 0) return f(x);
+#}
+f(5);
+
+Debugger.stepOver called
+f (:4:0)
+(anonymous) (:5:0)
+ if (x-- > 0) return f(x);
+#}
+f(5);
+
+Debugger.stepOver called
+(anonymous) (:5:5)
+}
+f(5);#
+
+
+Debugger.resume called
+
+Running test: testStepOut
+f (:2:14)
+f (:3:22)
+f (:3:22)
+f (:3:22)
+(anonymous) (:5:0)
+function f(x) {
+ if (x == 2) #debugger;
+ if (x-- > 0) return f(x);
+
+Debugger.stepOut called
+f (:4:0)
+f (:3:22)
+f (:3:22)
+(anonymous) (:5:0)
+ if (x-- > 0) return f(x);
+#}
+f(5);
+
+Debugger.stepOut called
+f (:4:0)
+f (:3:22)
+(anonymous) (:5:0)
+ if (x-- > 0) return f(x);
+#}
+f(5);
+
+Debugger.stepOut called
+f (:4:0)
+(anonymous) (:5:0)
+ if (x-- > 0) return f(x);
+#}
+f(5);
+
+Debugger.stepOut called
+(anonymous) (:5:5)
+}
+f(5);#
+
+
+Debugger.resume called
+
+Running test: testStepOutFromReturn
+f (:2:14)
+f (:3:22)
+f (:3:22)
+f (:3:22)
+(anonymous) (:5:0)
+function f(x) {
+ if (x == 2) #debugger;
+ if (x-- > 0) return f(x);
+
+Debugger.stepOver called
+f (:3:2)
+f (:3:22)
+f (:3:22)
+f (:3:22)
+(anonymous) (:5:0)
+ if (x == 2) debugger;
+ #if (x-- > 0) return f(x);
+}
+
+Debugger.stepOver called
+f (:3:15)
+f (:3:22)
+f (:3:22)
+f (:3:22)
+(anonymous) (:5:0)
+ if (x == 2) debugger;
+ if (x-- > 0) #return f(x);
+}
+
+Debugger.stepOut called
+f (:4:0)
+f (:3:22)
+f (:3:22)
+(anonymous) (:5:0)
+ if (x-- > 0) return f(x);
+#}
+f(5);
+
+Debugger.stepOut called
+f (:4:0)
+f (:3:22)
+(anonymous) (:5:0)
+ if (x-- > 0) return f(x);
+#}
+f(5);
+
+Debugger.stepOut called
+f (:4:0)
+(anonymous) (:5:0)
+ if (x-- > 0) return f(x);
+#}
+f(5);
+
+Debugger.stepOut called
+(anonymous) (:5:5)
+}
+f(5);#
+
+
+Debugger.resume called

Powered by Google App Engine
This is Rietveld 408576698