ezEngine  Milestone 7
ezStackTracer Class Reference

Helper class to capture the current stack and print a captured stack. More...

#include <StackTracer.h>

Public Types

typedef void(* PrintFunc )(const char *szText)
 Callback-function to print a text somewhere.
 

Static Public Member Functions

static ezUInt32 GetStackTrace (ezArrayPtr< void * > &trace)
 Captures the current stack trace. More...
 
static void ResolveStackTrace (const ezArrayPtr< void * > &trace, PrintFunc printFunc)
 Print a stack trace.
 

Detailed Description

Helper class to capture the current stack and print a captured stack.

Member Function Documentation

ezUInt32 ezStackTracer::GetStackTrace ( ezArrayPtr< void * > &  trace)
static

Captures the current stack trace.

The trace will contain not more than trace.GetCount() entries. Returns the actual number of captured entries.


The documentation for this class was generated from the following files: