12#pragma comment(lib, "dbghelp.lib")
LONG WINAPI UnhandledExceptionHandler(EXCEPTION_POINTERS *exceptionInfo)
Gère les exceptions en fonction de leur type.
Definition stacktrace.cpp:68
void PrintStackTrace(CONTEXT *context, std::ostream &out)
Affiche la stacktrace dans la console.
Definition stacktrace.cpp:5
std::string ExceptionCodeString(DWORD code)
Renvoie une string associée au code d'exception donné. CF. La doc de Microsoft sur les exceptions C++...
Definition stacktrace.cpp:76
void EnableStacktrace()
Fonction qui active le Handler dans le programme actuel pour activer la stacktrace.
Definition stacktrace.cpp:102