PDA

View Full Version : Eclipse C++ debugging - showing contents of whole string



jonathanmotes
October 25th, 2008, 07:06 PM
OK, I'm not sure I'm in the right category, but I'm hoping that there is a way to make debugging better in Eclipse.

Here's a simplification of my problem:

If you have a string like this:

string name = "my name"
Or

char* name = "my name"
and you are stepping though your code, Eclipse will only show you the first character of the string.

I've tried NetBeans for C++ and it works great (and it uses gdb just like Eclipse does), but my school likes to use Eclipse (at least when Visual Studio is not an option), and I'd prefer to use an IDE that my teachers and classmates are familiar with.

Help anyone?