OpendTect-6_4  6.4
Namespaces | Macros | Functions
debug.h File Reference
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.

Namespaces

 google_breakpad
 
 DBG
 Defines a generic interface for supplying debug/runtime info.
 

Macros

#define DBG_DBG   0x0001
 
#define DBG_MT   0x0002
 
#define DBG_UI   0x0004
 
#define DBG_IO   0x0008
 
#define DBG_SOCKIO   0x0010
 
#define DBG_MM   0x0020
 
#define DBG_SETTINGS   0x0040
 
#define DBG_PROGSTART   0x0080
 
#define DBG_FILEPATH   0x0100
 

Functions

void DBG::turnOn (int flag)
 Overrides the envirnonment variable. More...
 
bool DBG::isOn (int flag=0xffff)
 
void DBG::message (const char *)
 default: to stderr More...
 
void DBG::message (int flag, const char *msg)
 
void DBG::putProgInfo (int, char **)
 one line; more if isOn() More...
 
void DBG::forceCrash (bool withdump)
 
bool DBG::crashOnNaN ()
 
int od_debug_isOn (int flag)
 
void od_debug_message (const char *msg)
 
void od_debug_messagef (int flag, const char *msg)
 
void od_debug_putProgInfo (int, char **)
 
void od_putProgInfo (int, char **)
 
void od_init_test_program (int, char **)
 

Macro Definition Documentation

#define DBG_DBG   0x0001
#define DBG_FILEPATH   0x0100
#define DBG_IO   0x0008
#define DBG_MM   0x0020
#define DBG_MT   0x0002
#define DBG_PROGSTART   0x0080
#define DBG_SETTINGS   0x0040
#define DBG_SOCKIO   0x0010
#define DBG_UI   0x0004

Function Documentation

int od_debug_isOn ( int  flag)
void od_debug_message ( const char *  msg)
void od_debug_messagef ( int  flag,
const char *  msg 
)
void od_debug_putProgInfo ( int  ,
char **   
)
void od_init_test_program ( int  ,
char **   
)

Calls SetProgramArgs, sets crash on programmer error, and installs signal handling for crashes.

void od_putProgInfo ( int  ,
char **   
)

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019