File tree Expand file tree Collapse file tree 2 files changed +40
-4
lines changed Expand file tree Collapse file tree 2 files changed +40
-4
lines changed Original file line number Diff line number Diff line change 6
6
Date # probably possible to steal much from S32::Temporal
7
7
DateTime # probably possible to steal much from S32::Temporal
8
8
9
- Backtrace
10
- Backtrace::Frame
11
-
12
9
Bag
13
10
Set
14
11
KeyBag
15
12
KeySet
16
13
17
14
Order (enum)
18
15
19
- Signature
20
16
Parameter
21
17
22
18
Junction
Original file line number Diff line number Diff line change
1
+ = begin pod
2
+
3
+ = TITLE class Backtrace
4
+
5
+ class Backtrace is List { ... }
6
+
7
+ A backtrace shows the dynamic call stack, usually leading up to a point
8
+ where an exception was thrown.
9
+
10
+ It is a List of L < Backtrace::Frame > objects. Its default stringification
11
+ excludes backtrace frames that are deemed unnecessary or confusing, for
12
+ example routines like C < &die > are hidden by default.
13
+
14
+ = head1 Methods
15
+
16
+ = head2 new
17
+
18
+ proto method new(*@, *%) {*}
19
+ multi method new()
20
+
21
+ Creates a new backtrace, using its calling location as the origin of the
22
+ backtrace.
23
+
24
+ = head2 Str
25
+
26
+ multi method Str(Backtrace:D:) returns Str:D:
27
+
28
+ Returns a concise string representation of the backtrace, omitting
29
+ routines marked as C < is hidden_from_backtrace > , and at the discretion of
30
+ the implementor, also some routines from the setting.
31
+
32
+ = head2 full
33
+
34
+
35
+ multi method full(Backtrace:D:) returns Str:D:
36
+
37
+ Returns a full string representation of the backtrace, including hidden
38
+ frames, compiler-specific frames and those from the setting.
39
+
40
+ = end pod
You can’t perform that action at this time.
0 commit comments