Skip to content

simple and easy-to-use application error handling

License

Notifications You must be signed in to change notification settings

gamepoet/forensics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forensics

Forensics is a library for helping you deal with bugs in your software. It provides several useful error handling and reporting services.

Features

  • Assertion macros (both fatal and recoverable)
  • A customizable error report handler
  • The ability to instrument your APIs with error context zones. Use this to assign ownership (or blame) for a block of code.
  • Custom key/value attributes that are made available to the report handler.
  • A breadcrumb queue to show what actions have been recently taken
  • Zero allocations after initialization except for a small allocation for each thread using the context feature. Definitely zero allocations

Compiling

This project uses CMake for compilation. Make sure it's installed and in your path.

$ ./s/setup
$ ./s/build

TODO

  • Optionally generate minidump on windows
  • Command-line tools for symbolicating a backtrace
  • Can we capture the backtrace for all threads?

About

simple and easy-to-use application error handling

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published