#include <backward.hpp>
Public Member Functions | |
template<typename ST > | |
FILE * | print (ST &st, FILE *os=stderr) |
template<typename IT > | |
FILE * | print (IT begin, IT end, FILE *os=stderr, size_t thread_id=0) |
Printer () | |
Public Attributes | |
bool | address |
bool | color |
int | inliner_context_size |
bool | object |
bool | snippet |
int | trace_context_size |
Private Member Functions | |
void | print_header (FILE *os, unsigned thread_id) |
void | print_snippet (FILE *os, const char *indent, const ResolvedTrace::SourceLoc &source_loc, Colorize &colorize, Color::type color_code, int context_size) |
void | print_source_loc (FILE *os, const char *indent, const ResolvedTrace::SourceLoc &source_loc, void *addr=0) |
void | print_trace (FILE *os, const ResolvedTrace &trace, Colorize &colorize) |
Private Attributes | |
TraceResolver | _resolver |
SnippetFactory | _snippets |
Definition at line 1726 of file backward.hpp.
backward::Printer::Printer | ( | ) | [inline] |
Definition at line 1735 of file backward.hpp.
FILE* backward::Printer::print | ( | ST & | st, |
FILE * | os = stderr |
||
) | [inline] |
Definition at line 1745 of file backward.hpp.
FILE* backward::Printer::print | ( | IT | begin, |
IT | end, | ||
FILE * | os = stderr , |
||
size_t | thread_id = 0 |
||
) | [inline] |
Definition at line 1759 of file backward.hpp.
void backward::Printer::print_header | ( | FILE * | os, |
unsigned | thread_id | ||
) | [inline, private] |
Definition at line 1774 of file backward.hpp.
void backward::Printer::print_snippet | ( | FILE * | os, |
const char * | indent, | ||
const ResolvedTrace::SourceLoc & | source_loc, | ||
Colorize & | colorize, | ||
Color::type | color_code, | ||
int | context_size | ||
) | [inline, private] |
Definition at line 1822 of file backward.hpp.
void backward::Printer::print_source_loc | ( | FILE * | os, |
const char * | indent, | ||
const ResolvedTrace::SourceLoc & | source_loc, | ||
void * | addr = 0 |
||
) | [inline, private] |
Definition at line 1848 of file backward.hpp.
void backward::Printer::print_trace | ( | FILE * | os, |
const ResolvedTrace & | trace, | ||
Colorize & | colorize | ||
) | [inline, private] |
Definition at line 1783 of file backward.hpp.
TraceResolver backward::Printer::_resolver [private] |
Definition at line 1771 of file backward.hpp.
SnippetFactory backward::Printer::_snippets [private] |
Definition at line 1772 of file backward.hpp.
Definition at line 1730 of file backward.hpp.
Definition at line 1729 of file backward.hpp.
Definition at line 1732 of file backward.hpp.
Definition at line 1731 of file backward.hpp.
Definition at line 1728 of file backward.hpp.
Definition at line 1733 of file backward.hpp.