Skip to content

A tiny Crash Reporting class component for Win32 application

Notifications You must be signed in to change notification settings

qi7chen/calmdump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

A tiny Crash Reporting class component for Win32 application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published