libcsdbg Icon


C++ exception (and generic) stack trace debug library

5.0 Stars (6)
55 Downloads (This Week)
Last Update:
Download libcsdbg-1.28.tar.bz2
Browse All Files



Libcsdbg is a C++ exception stack tracer. When an exception is thrown, caught and handled, libcsdbg offers the tools to create and process the exception stack trace, the path the exception has propagated up the call stack, unwinding it, up to the section were it was handled. The traces are detailed with demangled function signatures and additional addr2line info (the source code file and line that each function was called). Libcsdbg will perform flawlessly with single and multi-threaded (or multi-process) programs, with any dynamically linked shared object (DSO - Dynamic Shared Object) and with any statically linked library. Additionally, libcsdbg helps the developer/tester create sophisticated stack traces of any thread, at any given moment during a process execution, 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


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

There are no 4 star reviews.

Additional Project Details



Intended Audience

Advanced End Users, Developers, Quality Engineers, Testers

User Interface

Java Swing, Console/Terminal

Programming Language

C++, C



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:

No, thanks