waLBerla 7.3
Loading...
Searching...
No Matches
walberla::debug Namespace Reference

Namespaces

namespace  check_functions_detail

Functions

void myAssert (const char *const file, const int line)
std::string demangle (const std::string &name)
void printStacktrace ()
 Prints a stack trace to standard error.
void printStacktrace (std::ostream &os)
 Prints a stack trace to specified output stream.
void enterTestMode ()
 Enters test mode.

Function Documentation

◆ demangle()

std::string walberla::debug::demangle ( const std::string & name)
inline

◆ enterTestMode()

void walberla::debug::enterTestMode ( )

Enters test mode.

Call this at the beginning of every tests's main() function!

This function may be used to set up error handling for tests. (Or anything else for that matter...)

◆ myAssert()

void walberla::debug::myAssert ( const char *const file,
const int line )

◆ printStacktrace() [1/2]

void walberla::debug::printStacktrace ( )

Prints a stack trace to standard error.

◆ printStacktrace() [2/2]

void walberla::debug::printStacktrace ( std::ostream & )

Prints a stack trace to specified output stream.