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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 Checks stepping over tail calls.
2
3 Running test: testStepOver
4 f (:2:14)
5 f (:3:22)
6 f (:3:22)
7 f (:3:22)
8 (anonymous) (:5:0)
9 function f(x) {
10 if (x == 2) #debugger;
11 if (x-- > 0) return f(x);
12
13 Debugger.stepOver called
14 f (:3:2)
15 f (:3:22)
16 f (:3:22)
17 f (:3:22)
18 (anonymous) (:5:0)
19 if (x == 2) debugger;
20 #if (x-- > 0) return f(x);
21 }
22
23 Debugger.stepOver called
24 f (:3:15)
25 f (:3:22)
26 f (:3:22)
27 f (:3:22)
28 (anonymous) (:5:0)
29 if (x == 2) debugger;
30 if (x-- > 0) #return f(x);
31 }
32
33 Debugger.stepOver called
34 f (:4:0)
35 f (:3:22)
36 f (:3:22)
37 f (:3:22)
38 (anonymous) (:5:0)
39 if (x-- > 0) return f(x);
40 #}
41 f(5);
42
43 Debugger.stepOver called
44 f (:4:0)
45 f (:3:22)
46 f (:3:22)
47 (anonymous) (:5:0)
48 if (x-- > 0) return f(x);
49 #}
50 f(5);
51
52 Debugger.stepOver called
53 f (:4:0)
54 f (:3:22)
55 (anonymous) (:5:0)
56 if (x-- > 0) return f(x);
57 #}
58 f(5);
59
60 Debugger.stepOver called
61 f (:4:0)
62 (anonymous) (:5:0)
63 if (x-- > 0) return f(x);
64 #}
65 f(5);
66
67 Debugger.stepOver called
68 (anonymous) (:5:5)
69 }
70 f(5);#
71
72
73 Debugger.resume called
74
75 Running test: testStepOut
76 f (:2:14)
77 f (:3:22)
78 f (:3:22)
79 f (:3:22)
80 (anonymous) (:5:0)
81 function f(x) {
82 if (x == 2) #debugger;
83 if (x-- > 0) return f(x);
84
85 Debugger.stepOut called
86 f (:4:0)
87 f (:3:22)
88 f (:3:22)
89 (anonymous) (:5:0)
90 if (x-- > 0) return f(x);
91 #}
92 f(5);
93
94 Debugger.stepOut called
95 f (:4:0)
96 f (:3:22)
97 (anonymous) (:5:0)
98 if (x-- > 0) return f(x);
99 #}
100 f(5);
101
102 Debugger.stepOut called
103 f (:4:0)
104 (anonymous) (:5:0)
105 if (x-- > 0) return f(x);
106 #}
107 f(5);
108
109 Debugger.stepOut called
110 (anonymous) (:5:5)
111 }
112 f(5);#
113
114
115 Debugger.resume called
116
117 Running test: testStepOutFromReturn
118 f (:2:14)
119 f (:3:22)
120 f (:3:22)
121 f (:3:22)
122 (anonymous) (:5:0)
123 function f(x) {
124 if (x == 2) #debugger;
125 if (x-- > 0) return f(x);
126
127 Debugger.stepOver called
128 f (:3:2)
129 f (:3:22)
130 f (:3:22)
131 f (:3:22)
132 (anonymous) (:5:0)
133 if (x == 2) debugger;
134 #if (x-- > 0) return f(x);
135 }
136
137 Debugger.stepOver called
138 f (:3:15)
139 f (:3:22)
140 f (:3:22)
141 f (:3:22)
142 (anonymous) (:5:0)
143 if (x == 2) debugger;
144 if (x-- > 0) #return f(x);
145 }
146
147 Debugger.stepOut called
148 f (:4:0)
149 f (:3:22)
150 f (:3:22)
151 (anonymous) (:5:0)
152 if (x-- > 0) return f(x);
153 #}
154 f(5);
155
156 Debugger.stepOut called
157 f (:4:0)
158 f (:3:22)
159 (anonymous) (:5:0)
160 if (x-- > 0) return f(x);
161 #}
162 f(5);
163
164 Debugger.stepOut called
165 f (:4:0)
166 (anonymous) (:5:0)
167 if (x-- > 0) return f(x);
168 #}
169 f(5);
170
171 Debugger.stepOut called
172 (anonymous) (:5:5)
173 }
174 f(5);#
175
176
177 Debugger.resume called
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698