views:

21

answers:

1

I've recently switched to using Visual Studio 2010. I've got a problem where the DataTips (debugger tooltips) for STL types aren't loading correctly.

For example, in the following code:

int test( const std::string& inString )
{
    std::string aString( "Hello, World!" );

    return aString.compare( inString );
}

I don't get the expected tooltip ([+] aString| "Hello, World!") but instead get something like [+] aString | {npos=4294967295}.

Ex. alt text

I've tested things a little and I've found that in my native (unmanaged) Projects, I don't get the problem. The Project where I'm getting this problem is a mixed native and C++/CLI DLL.

I'm aware the Intellisense isn't supported for C++/CLI in Visual Studio 2010, but as far as I know, this should be working in the debugger.

I'm wondering if I've just got a corrupt installation or the incorrect settings somewhere.

Anybody got any suggestions?

A: 

According to the first couple of comments here, C++/CLI isn't supported by VS2010 intellisense. The second comment is by a member of the MS team and he offers a rationalization for this.

Caleb Thompson
debugger insight isn't *intellisense*
Ben Voigt