Stack_Trace.cpp File Reference
Encapsulate string representation of stack trace.
More...
#include "ace/Stack_Trace.h"
#include "ace/Min_Max.h"
#include "ace/OS_NS_string.h"
#include "ace/OS_NS_stdio.h"
#include <windows.h>
#include <Dbghelp.h>
Detailed Description
Encapsulate string representation of stack trace.
- Id
- Stack_Trace.cpp 84075 2008-12-31 15:40:56Z mitza
Portions of the platform-specific code have been based on code found in various places on the internet e.g., google groups, VxWorks FAQ, etc., and adapted for use here.
Define Documentation
#define LINK |
( |
TYPE, |
|
|
NAME |
|
) |
|
Value:(pDbg->NAME = \
(TYPE) GetProcAddress (pDbg->hMod, #NAME))
#define LINK_T |
( |
NAME |
|
) |
LINK (dbghelp_functions::NAME##_t, NAME) |
Typedef Documentation
Function Documentation
static int add_frame_to_buf |
( |
struct frame_state const * |
fs, |
|
|
void * |
usrarg | |
|
) |
| | [static] |
static int cs_operate |
( |
int(*)(struct frame_state const *, void *) |
func, |
|
|
void * |
usrarg, |
|
|
size_t |
starting_frame, |
|
|
size_t |
num_frames | |
|
) |
| | [static] |
static size_t determine_starting_frame |
( |
ssize_t |
initial_frame, |
|
|
ssize_t |
offset | |
|
) |
| | [inline, static] |
static void emptyStack |
( |
|
) |
[static] |