 |
OpendTect
6.6
|
Go to the documentation of this file.
39 const char* fname,
int linrnr);
42 const char* fname,
int linrnr);
63 # define pDebugMsg(msg) \
64 DBG::message(msg,::className(*this),__FILE__,__LINE__)
65 # define pFreeDebugMsg(msg) \
66 DBG::message(msg,__func__,__FILE__,__LINE__)
67 # define pFDebugMsg(flag,msg) \
68 DBG::message(flag,msg,::className(*this),__FILE__,__LINE__)
69 # define pFreeFDebugMsg(flag,msg) \
70 DBG::message(flag,msg,__func__,__FILE__,__LINE__)
84 bool isOK()
const {
return handler_; }
101 google_breakpad::ExceptionHandler* handler_ =
nullptr;
114 #define DBG_DBG 0x0001 // general, low frequency stuff
115 #define DBG_MT 0x0002 // multi-threaded stuff
116 #define DBG_UI 0x0004 // ui-related stuff
117 #define DBG_IO 0x0008 // general I/O stuff
118 #define DBG_SOCKIO 0x0010 // socket I/O
119 #define DBG_MM 0x0020 // Multi-machine batch processing
120 #define DBG_SETTINGS 0x0040 // User settings
121 #define DBG_PROGSTART 0x0080 // Program start and stop
122 #define DBG_FILEPATH 0x0100 // File name handling, conversion, etc.
123 #define DGB_SERVICES 0x0200 // Network service managers
BufferString sendappl_
Definition: debug.h:100
void od_debug_putProgInfo(int, char **)
#define mGlobal(module)
Definition: commondefs.h:180
bool isOK() const
Creates and installs at first run.
Definition: debug.h:84
#define mExpClass(module)
Definition: commondefs.h:177
void message(const char *)
default: to stderr
static CrashDumper * theinst_
Definition: debug.h:98
int od_debug_isOn(int flag)
static FixedString sUiSenderAppl()
static CrashDumper & getInstance()
bool setCrashOnProgError(bool yn)
Returns old status.
void od_init_test_program(int, char **)
void sendDump(const char *filename)
OD::String that holds an existing text string.
Definition: fixedstring.h:29
void turnOn(int flag)
Overrides the envirnonment variable.
bool isOn(int flag=0xffff)
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
void setSendAppl(const char *a)
Definition: debug.h:88
void od_debug_messagef(int flag, const char *msg)
void putProgInfo(int, char **)
one line; more if isOn()
void od_putProgInfo(int, char **)
static FixedString sSenderAppl()
void forceCrash(bool withdump)
Defines a generic interface for supplying debug/runtime info.
Definition: debug.h:33
void od_debug_message(const char *msg)
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021