CS::Debug Namespace Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Namespace List
- Namespace Members

Classes | Functions
CS::Debug Namespace Reference

Debugging utilities and helpers. More...

## Classes
struct | iDynamicsDebuggerManager
| Creation of dynamic system debuggers. More...
struct | iDynamicSystemDebugger
| A class to help visualization and debugging of physical simulations made through the iDynamicSystem plugin. More...
struct | iVisualDebugger
| Visual debugging tools. More...
class | VisualDebuggerHelper
| Helper class for visual debugging tools. 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 967 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.