-
prettyTrace::htmlTheme
-
A theme that surrounds the given trace using with spans classed
trace-*in order to allow styling with CSS.- Source:
-
prettyTrace::regexes::instruments
-
Regexes used to match callgraphs generated with Mac Instruments.
- Source:
-
prettyTrace::regexes::lldb
-
Regexes used to match debug traces created by tools like lldb.
- Source:
-
prettyTrace::regexes::perf
-
Regexes used to match callgraphs generated running Linux perf, i.e.
perf script.- Source:
-
prettyTrace::terminalTheme
-
A theme that colorizes the given trace using ANSI color codes.
- Source:
-
prettyTrace::line(line, theme) → {string}
-
Prettifies the given line.
Parameters:
Name Type Description linestring the line to be prettified
themeObject theme that specifies how to prettify a trace
Properties
Name Type Description rawfunction invoked to surround an unparsable line
framefunction invoked to surround the frame number
addressfunction invoked to surround the hex address
symbolfunction invoked to surround the symbol corresponding to the address, i.e. a function name
locationfunction invoked to surround the location in the file at which the symbol is found
- Source:
Returns:
prettified line
- Type
- string
-
prettyTrace::lines(lines, theme) → {Array.<string>}
-
Prettifies multiple lines.
Parameters:
Name Type Description linesArray.<string> lines to be prettified
themeObject theme that specifies how to prettify a trace @see prettyTrace::line
- Source:
Returns:
the prettified lines
- Type
- Array.<string>


