blob: e328ffe58d66ce0ecf8b258ccb726ba4a251c197 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 | /** 
 * @file llwindebug.h
 * @brief LLWinDebug class header file
 *
 * Copyright (c) 2004-$CurrentYear$, Linden Research, Inc.
 * $License$
 */
#ifndef LL_LLWINDEBUG_H
#define LL_LLWINDEBUG_H
#include "stdtypes.h"
#include <dbghelp.h>
class LLWinDebug
{
public:
	static BOOL setupExceptionHandler();
	static LONG WINAPI handleException(struct _EXCEPTION_POINTERS *pExceptionInfo);
	static void writeDumpToFile(MINIDUMP_TYPE type, MINIDUMP_EXCEPTION_INFORMATION *ExInfop, const char *filename);
};
#endif // LL_LLWINDEBUG_H
 |