Skip to content

vinjn/calmdump

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calmdump

calmdump is a crash reporting component for Windows console application.

Introduction

[calmdump] 1 takes the core exception handling code in [crashrpt] 2, without screen capturing, file compression, video recording or anything else for client-only usage.

[calmdump] 1 aims to be a lightweight component of a C++ server-end software, mostly used for crash debugging case, when our server app crashes, calmdump collect the minidump file and print stack information to a specified file. that's what it do and what it don't do.

Usage

#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
}

Installation

  1. Obtain premake5(http://premake.github.io/download.html)
  2. Type premake5 vs2013 to generate Visual C++ solution files

Further Reading

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 (in Chinese)

About

Crash Reporting component for Windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.8%
  • C 3.7%
  • Other 0.5%