问题 When debugging my C++ program using the glm::vec3 class with gdb, the vector classes are quite cumbersome to work with: I've read in the manual, that it's possible to write debug helpers. I've managed to get qtcreator to load the file (the debugger exits immediately with an error, if my python file has a syntax error). How can I write a minimalistic debugging helper? What I've already tried: Here's the C++ code #include <glm/glm.hpp> class Foo { }; int main(int, char**) { glm::vec3 vec3(42,