C++: String Representation of Class for Debugging

Viewed 212

I'm debugging a program written in C++, and I would like to have an intuitive representation of objects I deal with.

Is there a specific method that C++ debuggers (gdb in particular) would expect a class to implement for them to use at runtime?

For instance, operator const char* () const seems to be a viable candidate.

If it depends on the SDK, I have to say I'm using Xcode.

1 Answers
Related