#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2013
    Posts
    2
    Rep Power
    0

    Libcsdbg: A C++ exception stack tracer (debugger)


    Hello

    I want to inform you about a new open source debugging tool to sample. I give you its sourceforge short 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.

    Visit sourceforge and search for libcsdbg
    Regards
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2013
    Posts
    2
    Rep Power
    0

    url addition


    forgot to mention the freecode release page with additional notes

    freecode dot com /projects/libcsdbg

IMN logo majestic logo threadwatch logo seochat tools logo