This commit is contained in:
aixianling
2025-01-09 17:45:40 +08:00
commit 5c9f1dae4a
3482 changed files with 1146531 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#include "StdAfx.h"
#include "StackWalker.h"
#ifdef WIN32
DWORD CustomExceptHandler(const LPEXCEPTION_POINTERS lpPointers)
{
SHOW_CALLSTACK();
return DefaultExceptHandler(lpPointers);
}
#endif

View File

@@ -0,0 +1,10 @@
#pragma once
/************************************************************************/
/* 自定义SEH异常处理Handler输出异常类型、异常发生地址等信息并且进行栈回溯。用于解决
某些不是 特别重要的异常发生被捕获后,继续程序的执行,但是可能导致的一些潜在的问题不被发现,
导致后面很定位的问题。
/************************************************************************/
#ifdef WIN32
DWORD CustomExceptHandler(const LPEXCEPTION_POINTERS lpPointers);
#endif