stacktrace - C++ library for storing and printing backtraces.

  •        18

Library for storing and printing backtraces. Documentation and examples.



Related Projects

RxJava2Debug - RxJava 2.x extension to provide meaningful Stack Traces

  •    Java

A library to make StackTraces involving RxJava2 more meaningful (they will always point to your code!). If you use RxJava2, you know the pain of debugging exceptions generated somwhere across the stream, in another thread, in a nested stream, ... The StackTrace provided by RxJava2 will tell you almost nothing. Even more, if you are using systems like Crashlytics to collect reports for and Android app, most RxJava-related crashes will be reported as a single error instance (omg, no way to fix that).


  •    C

Provides interface for generating stack traces from within a program. Inspired by Java's ability to do a backtrace whenever an error occurs, this provides similar capability in C/C++. Very lightweight and portable, where available builds on execinfo.h.

stacktrace - Stack traces for Go errors

  •    Go

Look at Palantir, such a Java shop. I can't believe they want stack traces in their Go code.Note that stack traces are not designed to be user-visible. We have found them to be valuable in log files of server applications. Nobody wants to see these in CLI output or a web interface or a return value from library code.


  •    Javascript

Framework-agnostic, micro-library for getting stack traces in all web browsers

clj-stacktrace - More readable stacktraces for Clojure

  •    Clojure

A library for creating more readable stacktraces in Clojure programs. If you want to direct the printing to somewhere other than *out*, either use pst-on to specify the output location or pst-str to capture the printing as a string.

tracerr - Golang errors with stack trace and source fragments.

  •    Go

Find more executable examples in examples dir. If err is nil then it still be nil with no stack trace added.

GCC/MinGW Stacktrace

  •    C

Allows GCC/MinGW to use Wine's stacktrace library dbghelp.dll ( since Wine's dbghelp can read GCC's dwarf2 debug info ).

Ben.Demystifier - High performance understanding for stack traces (Make error logs more productive)

  •    CSharp

.NET stack traces output the compiler transformed methods; rather than the source code methods, which make them slow to mentally parse and match back to the source code. The current output was good for C# 1.0; but has become progressively worse since C# 2.0 (iterators, generics) as new features are added to the .NET languages and at C# 7.1 the stack traces are esoteric (see: Problems with current stack traces).

Lynx - Lynx is an Android library created to show a custom view with all the information Android logcat is printing, different traces of different levels will be rendererd to show from log messages to your application exceptions

  •    Java

Lynx is an Android library created to show a custom view with all the information logcat is printing, different traces of different levels will be rendererd to show from log messages to your application exceptions. You can filter this traces (using regular expressions if you want), share your logcat to other apps, configure the max number of traces to show or the sampling rate used by the library. The min Api Level supported is 10. To be able to show LynxActivity shaking your phone or starting it programatically you'll have to add LynxActivity to your AndroidManifest.

longjohn - Long stack traces for node.js inspired by

  •    CoffeeScript

I wrote this while trying to add long-stack-traces to my server and realizing that there were issues with support of EventEmitter::removeListener. The node HTTP Server will begin to leak callbacks and any of your own code that relies on removing listeners would not work as anticipated. Longjohn collects a large amount of data in order to provide useful stack traces. While it is very helpful in development and testing environments, it is not recommended to use longjohn in production. The data collection puts a lot of strain on V8's garbage collector and can greatly slow down heavily-loaded applications.

Boost - CPP Library

  •    C

Boost provides free peer-reviewed portable C++ source libraries. Boost libraries are intended to be widely useful, and usable across a broad spectrum of applications. It supports String, Containers, Streams, Generic programming, Concurrent programming, Math, Memory and lot more.

panicparse - Crash your app in style (Golang)

  •    Go

Parses panic stack traces, densifies and deduplicates goroutines with similar stack traces. Helps debugging crashes and deadlocks in heavily parallelized process.pp streams its stdin to stdout as long as it doesn't detect any panic. panic() and Go's native deadlock detector print to stderr via the native print() function.

TraceKit - Attempts to create stack traces for unhandled JavaScript exceptions in all major browsers

  •    Javascript

In order to get stack traces, you need to wrap your code in a try/catch block like above. Otherwise the error hits window.onerror handler and will only contain the error message, line number, and column number. You also need to throw errors with throw new Error('foo') instead of throw 'foo'.

node-stack-trace - Get v8 stack traces as an array of CallSite objects.

  •    Javascript

Get v8 stack traces as an array of CallSite objects.Please note that parsing the Error#stack property is not perfect, only certain properties can be retrieved with it as noted in the API docs below.

node-source-map-support - Adds source map support to node.js (for stack traces)

  •    Javascript

This module provides source map support for stack traces in node via the V8 stack trace API. It uses the source-map module to replace the paths and line numbers of source-mapped files with their original paths and line numbers. The output mimics node's stack trace format with the goal of making every compile-to-JS language more of a first-class citizen. Source maps are completely general (not specific to any one language) so you can use source maps with multiple compile-to-JS languages in the same node process. If multiple sourceMappingURL comments exist in one file, the last sourceMappingURL comment will be respected (e.g. if a file mentions the comment in code, or went through multiple transpilers). The path should either be absolute or relative to the compiled file.

trycatch - An asynchronous domain-based exception handler with long stack traces for node.js

  •    Javascript

A domain-based asynchronous try/catch with (optional) long stack traces for node.js optimized for V8. WARNING: trycatch replaces the built-in global Error object.

cpp-serializers - Benchmark comparing various data serialization libraries (thrift, protobuf etc

  •    C++

Compare various data serialization libraries for C++. This project does not have any external library dependencies. All (boost, thrift etc.) needed libraries are downloaded and built automatically, but you need enough free disk space to build all components. To build this project you need a compiler that supports C++11 features. Project was tested with GCC 4.8.2 (Ubuntu 14.04).

UMDH Tracer


Tool that generates & exploits UMDH Dump so that leaks detection is easier.

FlashPreloadProfiler - Good alternative to Adobe Flex Profiler

  •    Actionscript

FlashPreloadProfiler is an multi-purpose profiler designed to help productivity and stability during development of any flash scene. It gives access to more profiling tools like Overdraw graph, Mouse listeners graph, Internal events time repartition, Instantiation Statistics/StackTrace for all object (including Temporary object), Sampling data "Dump", hook on ANY flash app, local or web, debug or release.