My personal pain debugging C++ with GDB recently has been the difficulty of creating objects. I spent a long time trying to figure out how to call operator[](vec2u) on my custom data structure.
In the end, I gave up and built self-introspection tools directly into the program itself. It may not be a general solution, but it worked for me.
In the end, I gave up and built self-introspection tools directly into the program itself. It may not be a general solution, but it worked for me.