geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

debug.h File Reference
#include "general.h"
#include "gvars.h"
#include "types.h"
Include dependency graph for debug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define DebugStatement(x)
#define PrintStatus(x)
#define Assert(c)   do {} while(0)
#define AssertNotReached()   do {} while(0)
#define NDEBUG
#define DEBUG_INIT()   do { } while(0)


enum  eDebugLevels {
  DEBUG_READ = 0x01 , DEBUG_PARSE = 0x02 , DEBUG_STATUS = 0x04 , DEBUG_OPTION = 0x08 ,
  DEBUG_CPP = 0x10 , DEBUG_RAW = 0x20


void lineBreak (void)
void debugPrintf (const enum eDebugLevels level, const char *const format,...)
void debugPutc (const int level, const int c)
void debugParseNest (const bool increase, const unsigned int level)
void debugCppNest (const bool begin, const unsigned int level)
void debugCppIgnore (const bool ignore)
void debugEntry (const tagEntryInfo *const tag)
void debugAssert (const char *assertion, const char *file, unsigned int line, const char *function)

Macro Definition Documentation

◆ Assert

#define Assert (   c)    do {} while(0)

Definition at line 47 of file debug.h.

◆ AssertNotReached

#define AssertNotReached ( )    do {} while(0)

Definition at line 48 of file debug.h.


#define DEBUG_INIT ( )    do { } while(0)

Definition at line 100 of file debug.h.

◆ DebugStatement

#define DebugStatement (   x)

Definition at line 45 of file debug.h.


#define NDEBUG

Definition at line 50 of file debug.h.

◆ PrintStatus

#define PrintStatus (   x)

Definition at line 46 of file debug.h.

Enumeration Type Documentation

◆ eDebugLevels


Definition at line 64 of file debug.h.

Function Documentation

◆ debugAssert()

void debugAssert ( const char *  assertion,
const char *  file,
unsigned int  line,
const char *  function 

◆ debugCppIgnore()

void debugCppIgnore ( const bool  ignore)

Referenced by directiveHash().

◆ debugCppNest()

void debugCppNest ( const bool  begin,
const unsigned int  level 

Referenced by directiveHash().

◆ debugEntry()

void debugEntry ( const tagEntryInfo *const  tag)

Referenced by writeTagEntry().

◆ debugParseNest()

void debugParseNest ( const bool  increase,
const unsigned int  level 

Referenced by createTags().

◆ debugPrintf()

void debugPrintf ( const enum eDebugLevels  level,
const char *const  format,

◆ debugPutc()

void debugPutc ( const int  level,
const int  c 

Referenced by cppGetc(), and getcFromInputFile().

◆ lineBreak()

void lineBreak ( void  )

Referenced by fileNewline().