libcwdversion 2.0.0
The C++ Debugging Support Library
Loading...
Searching...
No Matches
Making The Program Dump Core

Using core_dump(). More...

Functions

void libcwd::core_dump ()
 Dump core of current thread.

Detailed Description

The generated API reference documents helpers that deliberately make the program dump core.

Function Documentation

◆ core_dump()

void libcwd::core_dump ( )

Example:

#define Debug(...)
Encapsulation macro for general debugging code.
Definition debug.h:69
void core_dump()
Dump core of current thread.
Definition debug.cxx:697

Normally you don't call core_dump() directly though. Instead you'd do for example:

if (error_condition)
DoutFatal(dc::core, "Something went wrong");
#define DoutFatal(cntrl,...)
Macro for writing fatal debug output to the default debug object libcw_do .
Definition debug.h:119

Referenced by libcwd::DebugObject::always_flush_off(), and libcwd::DebugObject::DebugObject().