net.efever.xbacktrace

version 0.0.1

To install:

❯ qpm install net.efever.xbacktrace

XBacktrace - Cross-platform backtrace utility

It is a single header library to provide a cross platform backtrace utility.

Supported Platforms: Linux/Mac/Windows

Credit:

The Windows backtrace code is entirely based on Furkan Üzümcü's Furkanzmc/ExceptionHandler and Jerry Coffin's code. Thanks Furkan and Jerry!

Example usage

#include <xbacktrace.h>

int main(int argc, char *argv[])
{
    XBacktrace::enableBacktraceLogOnUnhandledException();
    int *s = 0;
    s = 10;
    return 0;
}

Installation

    $ wget https://raw.githubusercontent.com/e-fever/xbacktrace/master/XBacktrace.h

API

XBacktrace::enableBacktraceLogOnUnhandledException()

XBacktrace::enableBacktraceLogOnUnhandledException(callback)

TBD

XBacktrace::attachConsole()

Windows-Only API

Author

Ben Lau

Info
View on Github

License: APACHE_2_0

Installs
Today 1
This week 1
This month 1
This year 1
Total 1
Dependencies

None.

Versions