CrystalSpace

Public API Reference

CS::Debug Namespace Reference

Debugging utilities and helpers. More...

Functions

static void DebugBreak ()
 Break execution for debugging purposes.
void DumpAllocateMemoryBlocks ()
 Print all memory blocks allocated with the "checking" functions, including where they were allocated, to a file "allocations.txt".
bool VerifyAllMemory ()
 Verify that all memory blocks allocated with the "checking" functions did not overrun or the allocated space.

Detailed Description

Debugging utilities and helpers.


Function Documentation

static void CS::Debug::DebugBreak (  )  [inline, static]

Break execution for debugging purposes.

Causes a signal/exception/fault (which depends on the exact nomenclature used on a platform) with the intention to break into an attached debugger.

Definition at line 875 of file cssysdef.h.

void CS::Debug::DumpAllocateMemoryBlocks (  ) 

Print all memory blocks allocated with the "checking" functions, including where they were allocated, to a file "allocations.txt".

bool CS::Debug::VerifyAllMemory (  ) 

Verify that all memory blocks allocated with the "checking" functions did not overrun or the allocated space.

Returns:
true if all memory blocks are in order, false otherwise.

Generated for Crystal Space 1.4.1 by doxygen 1.7.1