core/vul/vul_debug.cxx File Reference


Detailed Description

Get debug related information like core dumps, and stack traces.

Author:
Ian Scott

Definition in file vul_debug.cxx.

#include "vul_debug.h"
#include <vcl_iostream.h>
#include <vxl_config.h>
#include <vcl_new.h>
#include <vcl_cstdlib.h>
#include <vcl_string.h>
#include <vul/vul_sprintf.h>

Go to the source code of this file.


Functions

void vul_debug_core_dump (const char *filename)
 Dump a core file.
void vul_debug_set_coredump_and_throw_on_windows_se (const char *filename)
 Setup the system to core dump and throw a C++ exception on detection of a Structured Exception.
void vul_debug_set_coredump_and_throw_on_out_of_memory_handler ()
void vul_debug_set_coredump_and_throw_on_out_of_memory (const char *filename)
 Setup the system to core dump and throw a C++ exception on detection of out of memory.

Function Documentation

void vul_debug_core_dump ( const char *  filename  ) 

Dump a core file.

Parameters:
filename can have up to one "%d" option, which will be given a different index number on each core dump.

Definition at line 185 of file vul_debug.cxx.

void vul_debug_set_coredump_and_throw_on_out_of_memory ( const char *  filename  ) 

Setup the system to core dump and throw a C++ exception on detection of out of memory.

The system will throw vcl_bad_alloc.

Definition at line 232 of file vul_debug.cxx.

void vul_debug_set_coredump_and_throw_on_out_of_memory_handler (  ) 

Definition at line 219 of file vul_debug.cxx.

void vul_debug_set_coredump_and_throw_on_windows_se ( const char *  filename  ) 

Setup the system to core dump and throw a C++ exception on detection of a Structured Exception.

Exceptions:
vul_debug_windows_structured_exception. 

Definition at line 205 of file vul_debug.cxx.


Generated on Mon Mar 8 05:09:57 2010 for core/vul by  doxygen 1.5.1