Developer documentation
Version 3.0.3-105-gd3941f44
debug.h File Reference
#include <iostream>
#include <cstring>

Go to the source code of this file.

Namespaces

namespace  MR
 
namespace  MR::App
 

Macros

#define TRACE    std::cerr << MR::App::NAME << ": at " << __FILE__ << ": " << __LINE__ << "\n";
 Prints the current function, file and line number. More...
 
#define VAR(variable)    std::cerr << MR::App::NAME << " [" << __FILE__ << ": " << __LINE__ << "]: " << #variable << " = " << (variable) << "\n";
 Prints a variable name and its value, followed by the function, file and line number. More...
 
#define MAT(variable)
 Prints a matrix name and in the following line its formatted value. More...
 
#define VEC(variable)
 
#define PAUSE
 Stops execution and prints current function, file and line number. Remuses on user input (i.e. Return key). More...