Debug utilities. More...
#include <iostream>#include <string.h>Go to the source code of this file.
Macros | |
| #define | VERBOSE |
| Verbose flag. Comment to remove debug features. More... | |
| #define | __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__) |
| Current filename macro. More... | |
| #define | debugPrint(x) do { std::cout << x; } while (0) |
| Print debug information to std::cout. More... | |
| #define | debugPrintTrace(x) |
| Print debug information to std::cout, including current filename, line and function. More... | |
Debug utilities.
| #define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__) |
Current filename macro.
| #define debugPrint | ( | x | ) | do { std::cout << x; } while (0) |
Print debug information to std::cout.
| #define debugPrintTrace | ( | x | ) |
Print debug information to std::cout, including current filename, line and function.
| #define VERBOSE |
Verbose flag. Comment to remove debug features.