debug.hh File Reference

#include <iostream>
#include <cassert>
#include <iomanip>
#include <cstring>

Go to the source code of this file.

Macros

#define DEBUGL(doit, msg)
 
#define DP(doit, msg, var)
 
#define DPL(doit, msg, var)
 
#define NDEBUG
 

Detailed Description

Debugging Header File

Definition in file debug.hh.

Macro Definition Documentation

◆ DP

#define DP (   doit,
  msg,
  var 
)

Debug Print. Prints a debugging message with a variable if the first parameter is true. At the end, the line is not wrapped.

Parameters
doitThe line is only printed if true.
msgSome text
varA variable

◆ DPL

#define DPL (   doit,
  msg,
  var 
)

Debug Print Line. Prints a debugging message with a variable if the first parameter is true. At the end, the line is wrapped.

Parameters
doitThe line is only printed if true.
msgSome text
varA variable

◆ NDEBUG

#define NDEBUG

Definition at line 45 of file debug.hh.

Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich