• Advertisement
Sign in to follow this  

Strange VS2012 Debug Problem

This topic is 1321 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys,

 

I don't think this has ever happened before and it's really weird.

 

struct Joint{

char name[32];

int count;

};

 

In my program:

 

Joint* joint=getJoint(...); // i get a good Joint pointer back

if(joint){...

 

Normally when I debug and hover over a struct variable it has a little popup with the member variables. If I hover the variable 'joint' above I now get this:

 

cb=1970235507

ver=1919247468

offszCwd=3435973868

offszCommand=3435973836

ichOutfile=3435973836

offszLibs=3435973836

 

...and when I put it in the watch window it says:

 

joint->count     : class "Joint" has no member 'count'

 

And it doesn't just happen with Joint. I made sure I'm running the debug build, What's going on ?

 

Thanks.

 

Share this post


Link to post
Share on other sites
Advertisement

Joint* joint=getJoint(...); // i get a good Joint pointer back


How do you know it's a "good" Joint pointer?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement