In gdb, I can call some class functions, but others “cannot be resolved”. Why?
gdb is not a compiler, it will not do the (not-so-)nice user-defined type conversions for you. If you wish to call a function that wants a string, you need to give it a string, not a const char*. Unfortunately, gdb cannot construct an std::string for you on the command line, again because it is not … Read more