stdxDebug.h Classes and Functions
A couple simple macros that make "printf" style debugging easier. Basically instead of having to to write something like the following:
std::cout << " Here: numLines = " << numLines << std::endl; std::cout << " Here 12 " << std::endl;
One can write this:
Defines
- DEBUG_PRETTY_FUNCTION " : " << stdx::extractFunctionName( __PRETTY_FUNCTION__ ) << "()"
- DEBUG_VAR(toPrint)
- DEBUG_CHK
- DEBUG_MSG(msg)
Functions
- extractFunctionName (const std::string &str)