ki7chen / calmdump

Crash Reporting component for Win32 application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

calmdump

calmdump是用于Windows C++服务端的crash report组件,从crashrpt里面提取出核心的异常处理代码,并增加了异常堆栈打印。

calmdump takes the core exception handling code in crashrpt, but no client-only feature(screen capturing, file compression, video recording etc). on collect the minidump file and print stack information to a specified file.

API

#include <Windows.h>
#include <CrashRpt.h>

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR lpCmdLine, int nCmdShow)
{
    crInstall();    // this API handles everything

    // do your own job
}

如何构建本项目

  • Obtain CMake
  • mkdir build && cd build && cmake ..

扩展阅读

A Crash Course on the Depths of Win32™ Structured Exception Handling

Vectored Exception Handling

Programming against the x64 exception handling support

Structure Exception Handling in Windows NT

About

Crash Reporting component for Win32 application


Languages

Language:C 54.0%Language:C++ 45.2%Language:CMake 0.8%