We have debuggers for bash.
The NT POSIX C Runtime Library is an IEEE standard runtime library for the NT POSIX subsystem. It can be used as a complete replacement or a side by side alternative for what is shipped with the Interix SDK.
C/C++ library for function instrumentation and AOP
Library libinstrument is the best way to do function instrumentation in C/C++. You can use instrumentation to implement a vast number of features, ranging from stack tracing, exception tracing, profiling, to interceptor injection and Aspect Oriented Programming (AOP), to name a few. Actually libinstrument comes ready with such modules as exception stack tracing. Project libinstrument is the evolution, the re-branding of libcsdbg. Due to the vast performance optimizations and the generalization of its API, instead of being targeted solely for debugging, It can now be used in Agile Development, follow modern paradigms and implement SOLID patterns in C/C++. It carries over verbatim all the features of libcsdbg, but also adds a CMake generated build system, highly configurable, with out-of-source build capability and portable across all platforms and many IDEs (Eclipse, CLion, CodeBlocks and other)..
C++ exception (and generic) stack trace library (now libinstrument)
Project is migrating to libinstrument (https://sourceforge.net/projects/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)
LMDBG is a set of small utilities for collecting and analysing logs of malloc(3), calloc(3), realloc(3), memalign(3), posix_memalign(3) and free(3) functions. LMDBG generates full stacktraces and separates the logging process from analysis, thus allowing analysis of application on per-module basis. Simple but powerful tools for analysis are also provided.
goldenfiles is a project which has a number of small software ranging from useful to completely useless.
Binutils, gcc, gdb and glibc re-targeted for MIPS R3000R and R5900 as shipped in PlayStation and PlayStation 2 video game consoles, both from Sony Computer Entertainment Inc.