libcsdbg Icon


C++ exception (and generic) stack trace library (now libinstrument)

5.0 Stars (6)
6 Downloads (This Week)
Last Update:
Download libinstrument-1.0.tar.bz2
Browse All Files
Windows BSD Android Solaris Linux



Project is migrating to libinstrument (

Libcsdbg is a C++ exception stack tracer, offers the tools to create and process exception traces, the path an exception has propagated up the call stack, unwinding it, up to the point where it was handled. The traces are detailed with demangled function signatures and addr2line info (source file and line of each function call). Libcsdbg will perform flawlessly with multi-threaded programs, with dynamically linked shared objects (DSO) and with any statically linked library.

Libcsdbg helps the developer/tester also create stack traces of any thread, at any point during, as a snapshot of the runtime call graph. This is very useful in cases of fatal errors, reception of terminating signals or process abortion/termination (such as segmentation faults)

libcsdbg Web Site


  • Create sophisticated exception stack traces (with addr2line support)
  • Create detailed Posix thread stack traces (with addr2line support)
  • Full support for Position Independent Code (for DSO)
  • Works with multi-thread processes and with multi-process programs
  • Easy and minimal code interface, transparent library integration
  • Easy library runtime configuration
  • Instrumentation algorithms add only minimal overhead
  • Works with generic throwables and user defined exception types
  • Support for various objective code formats (elf, a.out, coff, ecoff e.t.c)
  • Support for both 32 and 64 bit systems
  • Support for both big and little endian CPUs
  • Compiled for x86, x86_64, ARM 7/9/11/thumb, Leon 2/3, AVR32, MIPS
  • API to output traces to files or to network peers (LDP - Libcsdbg Debug Protocol)
  • An evergrowing API to support multiple output interfaces (ethernet, serial, UNIX pipes e.t.c)
  • Support for multiple function profilers either inline or loaded from a DSO module (plugin)
  • Stack trace syntax highlighting for VT100 console output
  • Library API can be used as the base for custom instrumentation code


Other Useful Business Software

Protect your Network & Cloud Assets with USM Anywhere Icon

Discover a better way to detect & respond to threats before they impact your business with AlienVault USM Anywhere.

Protect your Network & Cloud Assets with USM Anywhere Icon
AlienVault® Unified Security Management™ (USM™) is an innovative approach to security monitoring, delivered in a unified platform. The USM platform includes five essential security capabilities that provide resource-constrained organizations with everything they need for effective threat detection, incident response, and compliance management, in a single pane of glass.

User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
Write a Review

User Reviews

  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Awesome project

    Posted 05/10/2016
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Very good lib

    Posted 05/10/2016
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Very helpful lib!

    Posted 05/10/2016
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Excellent idea, implementation and lots of features. I found it very easy to use with dynamic libraries and multithreading

    Posted 01/24/2014
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    excellent app

    Posted 11/02/2012
Read more reviews

Additional Project Details



Intended Audience

Advanced End Users, Developers, Quality Engineers, Architects, Auditors, Testers

User Interface

Java Swing, Non-interactive (Daemon), Console/Terminal, Plugins

Programming Language

Unix Shell, C++, C, Java



Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks