Click here to Skip to main content
15,868,141 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I am making use of:

Visual Studio 2010 Version 10.0.40219.1 SP1

I am unable to view any information about any variable within Visual Studio. When I start the debugger (which is in debug mode), the application starts and breaks at any given break point but, when it breaks, I am unable to view any information about any variable.

When I drag a variable into the Watch window it states the following:

Unable to evaluate the expression.

Any suggestion!
Many thanks in advance!
Posted

Hi all,

Just an update. I fixed the issue by un-installing the entire Visual Studio 2010 and installing it again. This included all the service packs and additional 2010 features installed.

Kind regards,
 
Share this answer
 
Comments
Albert Holguin 30-Nov-11 0:39am    
Interesting problem, well.. at least reinstalling worked... Cheers
It seems you are missing the debug symbols. Are you sure you have them turned on (this is the default when you choose a debug-configuration, although you can configure the release-mode to generate debug-info too)?
 
Share this answer
 
Comments
Programm3r 18-Nov-11 11:06am    
Many thanks for the reply.

Yes, I am sure that the solution is in debug mode and that the .pdb files are being generated. I am currently busy re-installing my entire VS 2010 environment! I really hope that it will fix the issue, cause this is driving me mad!!
Nish Nishant 18-Nov-11 11:07am    
Ok, good luck then. It may be a corrupt installation.
Programm3r 18-Nov-11 11:09am    
Could be, but it worked yesterday ... The other day I installed VS 11 Dev Preview, could this have messed anything up you think?
Nish Nishant 18-Nov-11 11:10am    
That's possible. I'd not have installed a dev preview on a regular dev machine (I usually use a VM for that).
Programm3r 18-Nov-11 11:10am    
Well, either way lesson learned... Thanks!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900