@apache64
Cant answer you about everything, but can say, that GDB for aos4 very buggy and if someone can fix it, it will be pretty cool.
The others what we have: memguard (and sashimi for redirect), all those snoopdos/snoopy utilityes, add2line (which give you possibility to detect by the stack trace, on which line of code crash is happenes). Into the os itself added some more stuff, which try to protect some memory areas, OS also trying detect now unfreed signals (and inform you in shell by words like "you have unfreed singnals"). "readelf" binary are here too (for better navigate over the ELF binaryes, like to understand use it static libs or dynamic, which headers/sections are inside, etc). OS itself have GrimReaper (some kind of in-build easy-little-memory-bug-catcher), which also works not so good, and from time to time can freeze the os completely. There is also "dumpdebugbuffer" binary, which can show you almost the same info as GR show (but in console, what can be better from time to time). Also some one are tryed to write "profiler", but its far from usable for now, and on some machines just does not works.
In other words , we have "something", but GDB buggy, and other tools are only for "something".
Few weeks ago, we start to talk about porting of Valgrind (the best debugging packet from unix world, which not only debugger, but a suite of tools for debugging and profiling, and many others which you can read on the official site
here ).
But that port of course cant be just easy recompile and run, because it heavy based on the binary structures (good for us, aos4 also have ELF binaryes as wel => a bit easy), on memory layots and so on. Still, it possible to port of course (because there is MacOS port already, and support of different linuxes and freebsd and sunos), but it for sure need _real_ coder, who will works on it hard.
So, imho, if we will have on aos4 fully working version of GDB and port of Valgrind => nothing more is need it.
EDIT: i found in some old thread (where i ask about port of Valgrind), a message from "sba" member:
here If you will be in interest, you can contact with him about.