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.

Macros

#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)
 

Enumerations

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

Functions

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.

◆ DEBUG_INIT

#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.

◆ NDEBUG

#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

Enumerator
DEBUG_READ 
DEBUG_PARSE 
DEBUG_STATUS 
DEBUG_OPTION 
DEBUG_CPP 
DEBUG_RAW 

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().