libcsdbg Icon

libcsdbg

C++ exception stack tracer (debugger)

5 Recommendations
3 Downloads (This Week)
Last Update:
Download libcsdbg-1.0.tar.bz2
Browse All Files
BSD Windows Linux

Screenshots

Description

This library, linked with C++ code, using GNU g++ on a POSIX platform, simulates the call stack for all threads with minimum overhead. When an exception is thrown one can print a stack trace (similar to Java's exception.printStackTrace() method), at any place in the code (most usually in the exception catch sections), showing the path the exception followed, unwinding the stack, from the throw point up to the point where the exception was caught and handled. The library automatically loads the symbol tables of the executable and any (chosen) dynamic libraries and demangles them to complete function signatures. The library automatically binds function names to addresses (even for dynamic library symbols). It has methods to report the call stack of all threads at any time. This is particularly useful in cases of fatal errors, before the program aborts/exits, such as segmentation faults. It can also be used as the base for your instrumentation code.

libcsdbg Web Site

Features

  • It supports both 32 and 64 bit systems
  • It supports both big and little endian CPUs
  • It supports all the executable binary formats (elf, a.out, coff, ecoff e.t.c)

Update Notifications





User Ratings

 
 
5
0
Write a Review

User Reviews

  • Posted by Adrian 2012-11-02

    excellent app

  • Posted by Logan 2012-12-22

    Great project

Read more reviews

Additional Project Details

Languages

English

Intended Audience

Developers, Testers

User Interface

Console/Terminal

Programming Language

C++, Unix Shell

Registered

2012-07-20

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.