blob: 7a531dd240d8018b29a991d6db96cbc798f435d3 [file] [log] [blame]
Bram Moolenaarf1f60f82016-01-16 15:40:53 +01001
2
3
4- show backtrace:
5
6 2 function Foo[2]
7 1 Bar[2]
8->0 Bazz
9line 2: let var3 = "another var"
10
11show variables on different levels:
12
136
14 2 function Foo[2]
15->1 Bar[2]
16 0 Bazz
17line 2: let var3 = "another var"
183
19->2 function Foo[2]
20 1 Bar[2]
21 0 Bazz
22line 2: let var3 = "another var"
231
24
25- undefined vars:
26
27undefined var3 on former level:
28Error detected while processing function Foo[2]..Bar[2]..Bazz:
29line 3:
30E121: Undefined variable: var3
Bram Moolenaarf1f60f82016-01-16 15:40:53 +010031here var3 is defined with "another var":
32another var
33
34undefined var2 on former level
35Error detected while processing function Foo[2]..Bar:
36line 3:
37E121: Undefined variable: var2
Bram Moolenaarf1f60f82016-01-16 15:40:53 +010038here var2 is defined with 10:
3910
40
41- backtrace movements:
42
43 1 function Foo[2]
44->0 Bar
45line 3: End of function
46
47next command cannot go down, we are on bottom
48
49frame is zero
50
51next command cannot go up, we are on top
52
53frame at highest level: 1
54->1 function Foo[2]
55 0 Bar
56line 3: End of function
57fil is not frame or finish, it is file
58"[No Name]" --No lines in buffer--
59
60- relative backtrace movement
61
62 1 function Foo[2]
63->0 Bar
64line 3: End of function
65->1 function Foo[2]
66 0 Bar
67line 3: End of function
68
69- go beyond limits does not crash
70
71frame at highest level: 1
72->1 function Foo[2]
73 0 Bar
74line 3: End of function
75frame is zero
76 1 function Foo[2]
77->0 Bar
78line 3: End of function
79
80- final result 19:
8119
82