11 BUSH_SOURCE[0] ./dbg-support.tests
15 debug lineno: 35 fn1 81 ./dbg-support.tests
17 debug lineno: 36 fn1 81 main ./dbg-support.tests
21 ./dbg-support.tests: line 38: caller: foo: invalid number
22 caller: usage: caller [expr]
25 debug lineno: 25 print_return_trap
26 debug lineno: 26 print_return_trap
28 debug lineno: 27 print_return_trap
32 fn2 here. Calling fn1...
40 BUSH_SOURCE[0] ./dbg-support.tests
44 debug lineno: 35 fn1 43 ./dbg-support.tests
46 debug lineno: 36 fn1 43 fn2 ./dbg-support.tests
48 debug lineno: 37 fn1 82 main ./dbg-support.tests
50 ./dbg-support.tests: line 38: caller: foo: invalid number
51 caller: usage: caller [expr]
54 debug lineno: 25 print_return_trap
55 debug lineno: 26 print_return_trap
57 debug lineno: 27 print_return_trap
59 debug lineno: 25 print_return_trap
60 debug lineno: 26 print_return_trap
62 debug lineno: 27 print_return_trap
68 BUSH_SOURCE[0] ./dbg-support.tests
76 fn3 called from file `./dbg-support.tests' at line 0
83 main called from file `./dbg-support.tests' at line 0
87 debug lineno: 31 source
89 debug lineno: 32 source
90 SOURCED BUSH_SOURCE[0] ./dbg-support.sub
91 debug lineno: 33 source
92 debug lineno: 16 sourced_fn
93 debug lineno: 17 sourced_fn
94 debug lineno: 18 sourced_fn
96 debug lineno: 21 sourced_fn
97 debug lineno: 22 sourced_fn
98 debug lineno: 23 sourced_fn
99 debug lineno: 23 sourced_fn
100 debug lineno: 24 sourced_fn
101 debug lineno: 25 sourced_fn
102 debug lineno: 26 sourced_fn
103 FUNCNAME[0]: sourced_fn called from ./dbg-support.sub at line 33
104 debug lineno: 23 sourced_fn
105 debug lineno: 23 sourced_fn
106 debug lineno: 24 sourced_fn
107 debug lineno: 25 sourced_fn
108 debug lineno: 26 sourced_fn
109 FUNCNAME[1]: source called from ./dbg-support.tests at line 59
110 debug lineno: 23 sourced_fn
111 debug lineno: 23 sourced_fn
112 debug lineno: 24 sourced_fn
113 debug lineno: 25 sourced_fn
114 debug lineno: 26 sourced_fn
115 FUNCNAME[2]: fn3 called from ./dbg-support.tests at line 83
116 debug lineno: 23 sourced_fn
117 debug lineno: 23 sourced_fn
118 debug lineno: 24 sourced_fn
119 debug lineno: 25 sourced_fn
120 debug lineno: 25 sourced_fn
121 debug lineno: 26 sourced_fn
122 FUNCNAME[3]: main called from ./dbg-support.tests at line 0
123 debug lineno: 23 sourced_fn
124 debug lineno: 23 sourced_fn
125 debug lineno: 16 sourced_fn
126 debug lineno: 25 print_return_trap
127 debug lineno: 26 print_return_trap
128 return lineno: 16 sourced_fn
129 debug lineno: 27 print_return_trap
131 debug lineno: 25 print_return_trap
132 debug lineno: 26 print_return_trap
133 return lineno: 59 fn3
134 debug lineno: 27 print_return_trap
136 debug lineno: 25 print_return_trap
137 debug lineno: 26 print_return_trap
138 return lineno: 46 fn3
139 debug lineno: 27 print_return_trap
140 debug lineno: 84 main
141 debug lineno: 31 source
143 debug lineno: 32 source
144 SOURCED BUSH_SOURCE[0] ./dbg-support.sub
145 debug lineno: 33 source
146 debug lineno: 16 sourced_fn
147 debug lineno: 17 sourced_fn
148 debug lineno: 18 sourced_fn
150 debug lineno: 21 sourced_fn
151 debug lineno: 22 sourced_fn
152 debug lineno: 23 sourced_fn
153 debug lineno: 23 sourced_fn
154 debug lineno: 24 sourced_fn
155 debug lineno: 25 sourced_fn
156 debug lineno: 26 sourced_fn
157 FUNCNAME[0]: sourced_fn called from ./dbg-support.sub at line 33
158 debug lineno: 23 sourced_fn
159 debug lineno: 23 sourced_fn
160 debug lineno: 24 sourced_fn
161 debug lineno: 25 sourced_fn
162 debug lineno: 26 sourced_fn
163 FUNCNAME[1]: source called from ./dbg-support.tests at line 84
164 debug lineno: 23 sourced_fn
165 debug lineno: 23 sourced_fn
166 debug lineno: 24 sourced_fn
167 debug lineno: 25 sourced_fn
168 debug lineno: 25 sourced_fn
169 debug lineno: 26 sourced_fn
170 FUNCNAME[2]: main called from ./dbg-support.tests at line 0
171 debug lineno: 23 sourced_fn
172 debug lineno: 23 sourced_fn
173 debug lineno: 16 sourced_fn
174 debug lineno: 25 print_return_trap
175 debug lineno: 26 print_return_trap
176 return lineno: 16 sourced_fn
177 debug lineno: 27 print_return_trap
178 debug lineno: 84 main
179 debug lineno: 25 print_return_trap
180 debug lineno: 26 print_return_trap
181 return lineno: 84 main
182 debug lineno: 27 print_return_trap
183 debug lineno: 87 main
184 debug lineno: 90 main
187 BUSH_SOURCE[0] ./dbg-support.tests
189 90 ./dbg-support.tests
190 90 main ./dbg-support.tests
192 ./dbg-support.tests: line 38: caller: foo: invalid number
193 caller: usage: caller [expr]
195 debug lineno: 91 main
196 fn2 here. Calling fn1...
199 BUSH_SOURCE[0] ./dbg-support.tests
201 43 ./dbg-support.tests
202 43 fn2 ./dbg-support.tests
203 91 main ./dbg-support.tests
204 ./dbg-support.tests: line 38: caller: foo: invalid number
205 caller: usage: caller [expr]
207 debug lineno: 92 main
209 BUSH_SOURCE[0] ./dbg-support.tests
210 fn3 called from file `./dbg-support.tests' at line 0
211 main called from file `./dbg-support.tests' at line 0
213 SOURCED BUSH_SOURCE[0] ./dbg-support.sub
215 FUNCNAME[0]: sourced_fn called from ./dbg-support.sub at line 33
216 FUNCNAME[1]: source called from ./dbg-support.tests at line 59
217 FUNCNAME[2]: fn3 called from ./dbg-support.tests at line 92
218 FUNCNAME[3]: main called from ./dbg-support.tests at line 0
219 debug lineno: 93 main
220 fn4 here. Calling fn3...
222 BUSH_SOURCE[0] ./dbg-support.tests
223 fn3 called from file `./dbg-support.tests' at line 93
224 fn4 called from file `./dbg-support.tests' at line 0
225 main called from file `./dbg-support.tests' at line 0
227 SOURCED BUSH_SOURCE[0] ./dbg-support.sub
229 FUNCNAME[0]: sourced_fn called from ./dbg-support.sub at line 33
230 FUNCNAME[1]: source called from ./dbg-support.tests at line 59
231 FUNCNAME[2]: fn3 called from ./dbg-support.tests at line 64
232 FUNCNAME[3]: fn4 called from ./dbg-support.tests at line 93
233 FUNCNAME[4]: main called from ./dbg-support.tests at line 0
234 debug lineno: 94 main
236 SOURCED BUSH_SOURCE[0] ./dbg-support.sub
238 FUNCNAME[0]: sourced_fn called from ./dbg-support.sub at line 33
239 FUNCNAME[1]: source called from ./dbg-support.tests at line 94
240 FUNCNAME[2]: main called from ./dbg-support.tests at line 0
241 return lineno: 94 main
242 debug lineno: 97 main
243 debug lineno: 100 main
244 debug lineno: 31 source
246 debug lineno: 32 source
247 SOURCED BUSH_SOURCE[0] ./dbg-support.sub
248 debug lineno: 33 source
249 debug lineno: 16 sourced_fn
250 debug lineno: 17 sourced_fn
251 debug lineno: 18 sourced_fn
253 debug lineno: 21 sourced_fn
254 debug lineno: 22 sourced_fn
255 debug lineno: 23 sourced_fn
256 debug lineno: 23 sourced_fn
257 debug lineno: 24 sourced_fn
258 debug lineno: 25 sourced_fn
259 debug lineno: 26 sourced_fn
260 FUNCNAME[0]: sourced_fn called from ./dbg-support.sub at line 33
261 debug lineno: 23 sourced_fn
262 debug lineno: 23 sourced_fn
263 debug lineno: 24 sourced_fn
264 debug lineno: 25 sourced_fn
265 debug lineno: 26 sourced_fn
266 FUNCNAME[1]: source called from ./dbg-support.tests at line 100
267 debug lineno: 23 sourced_fn
268 debug lineno: 23 sourced_fn
269 debug lineno: 24 sourced_fn
270 debug lineno: 25 sourced_fn
271 debug lineno: 25 sourced_fn
272 debug lineno: 26 sourced_fn
273 FUNCNAME[2]: main called from ./dbg-support.tests at line 0
274 debug lineno: 23 sourced_fn
275 debug lineno: 23 sourced_fn
276 debug lineno: 16 sourced_fn
277 debug lineno: 25 print_return_trap
278 debug lineno: 26 print_return_trap
279 return lineno: 16 sourced_fn
280 debug lineno: 27 print_return_trap
281 debug lineno: 100 main
282 debug lineno: 25 print_return_trap
283 debug lineno: 26 print_return_trap
284 return lineno: 100 main
285 debug lineno: 27 print_return_trap
286 debug lineno: 101 main
287 debug lineno: 104 main
288 debug lineno: 104 main
289 debug lineno: 105 main
290 debug lineno: 108 main
291 debug lineno: 104 main
292 debug lineno: 104 main
293 debug lineno: 105 main
294 debug lineno: 108 main
295 debug lineno: 104 main
296 debug lineno: 104 main
297 debug lineno: 105 main
298 debug lineno: 106 main
300 debug lineno: 108 main
301 debug lineno: 104 main
302 debug lineno: 104 main
303 debug lineno: 114 main
304 SOURCED FN LINENO 18 FUNCNAME[0]: sourced_fn called from ./dbg-support.tests at line 114 FUNCNAME[1]: main called from ./dbg-support.tests at line 0
305 debug lineno: 115 main
306 SOURCED FN LINENO 18 FUNCNAME[0]: sourced_fn called from ./dbg-support.tests at line 115 FUNCNAME[1]: main called from ./dbg-support.tests at line 0
307 debug lineno: 116 main
308 debug lineno: 117 main
310 FUNCNAME[0]: sourced_fn called from ./dbg-support.tests at line 117
311 FUNCNAME[1]: main called from ./dbg-support.tests at line 0
312 debug lineno: 121 main
313 debug lineno: 122 main
314 debug lineno: 16 sourced_fn
315 debug lineno: 17 sourced_fn
316 debug lineno: 18 sourced_fn
318 debug lineno: 21 sourced_fn
319 debug lineno: 22 sourced_fn
320 debug lineno: 23 sourced_fn
321 debug lineno: 23 sourced_fn
322 debug lineno: 24 sourced_fn
323 debug lineno: 25 sourced_fn
324 debug lineno: 26 sourced_fn
325 FUNCNAME[0]: sourced_fn called from ./dbg-support.tests at line 122
326 debug lineno: 23 sourced_fn
327 debug lineno: 23 sourced_fn
328 debug lineno: 24 sourced_fn
329 debug lineno: 25 sourced_fn
330 debug lineno: 25 sourced_fn
331 debug lineno: 26 sourced_fn
332 FUNCNAME[1]: main called from ./dbg-support.tests at line 0
333 debug lineno: 23 sourced_fn
334 debug lineno: 23 sourced_fn
335 debug lineno: 16 sourced_fn
336 debug lineno: 25 print_return_trap
337 debug lineno: 26 print_return_trap
338 return lineno: 16 sourced_fn
339 debug lineno: 27 print_return_trap
340 debug lineno: 125 main
341 debug lineno: 130 main
342 debug lineno: 134 main
344 debug lineno: 142 main
345 debug lineno: 143 main
346 debug lineno: 144 main
347 debug lineno: 143 main
348 debug lineno: 144 main
349 debug lineno: 142 main
350 debug lineno: 143 main
351 debug lineno: 144 main
352 debug lineno: 143 main
353 debug lineno: 144 main
354 debug lineno: 148 main
358 f3: calling callstack
366 FUNCNAME stack: f3 f2 f1 main
367 39 f2 ./dbg-support3.sub