Attention: Functions in the namespace "debug" are not available in production code.
They can access object details via introspection which is not available in production code.
These functions can also write to stderr without needing I/O-acccess rights! To do so they prevent parallel code execution.
Errors |
Input-Output |
debug::dump | writes a string representation of an object to stderr |
debug::dump_object | writes a string representation of an object to stderr |
debug::exit | terminates the program |
debug::hexdump | writes a hexdump of the given string to stderr |
debug::print | writes the given string to stderr |
debug::println | writes the given string and a newline character to stderr |
debug::string | returns a string representation of the given object |
debug::total_garbage_collections | returns the number of garbage collection cycles so far |
std::dump | writes a string representation of some objects to stdout |
std::dump_to | writes a string representation of some objects to the given file descriptor |
std::edump | print an object dump to stderr |
std::ehexdump | writes a hexdump of the given string to stderr |
std::hexdump | writes a hexdump of the given string to stdout |
std::hexdump_to | writes a hexdump of the given string to the given file descriptor |