C++ exception (and generic) stack trace library (now libinstrument)
... 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)
xdProf is a tool that captures and analyzes stack traces sent at a fixed interval from Java Virtual Machines in a distributed system. The xdProf client uses a C/C++ Java Virtual Machine Profiling Interface (JVMPI) library and works on many platforms.