blob: 7344e91ca9886ef031330f7d9ee81cb5777674ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef STACKTRACE_H
#define STACKTRACE_H
void InitializeStackWalker();
std::string GetStacktrace(bool includeMonoStackFrames = false);
//can't use string version when debugging new/delete allocations, as string class may allocate memory itself!
void GetStacktrace(char *trace, int maxSize, int maxFrames = INT_MAX);
UInt32 GetStacktrace(void** trace, int maxFrames, int startframe);
void GetReadableStackTrace(char* output, int bufsize, void** input, int count);
#endif
|