Click to See Complete Forum and Search --> : Question on VS .NET 2003 Debugger


MrDoomMaster
March 19th, 2005, 03:05 PM
Well, the debugger really sucks when it comes to accessing members of the STL classes.

For example, with the std::list class, you can't access list::size(), it says 'symbol is ambiguous' in the watch window.

Assume this declaration:

std::list<Node*>::iterator Iter; // Assume Iter points to the ::begin() of a valid list

Now, when I try to do this in the watch window:

(*Iter)->Cost

I get this error:

CXX0034: Error: types incompatible with operator

Can anyone tell me how to access Cost in my custom structure via the watch window?