Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Visual-Studio
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 18-Nov-11 5:17am
Programm3r11.3K
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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,
  Permalink  
Comments
Albert Holguin at 30-Nov-11 0:39am
   
Interesting problem, well.. at least reinstalling worked... Cheers
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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)?
  Permalink  
Comments
Programm3r at 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!!
Nishant Sivakumar at 18-Nov-11 11:07am
   
Ok, good luck then. It may be a corrupt installation.
Programm3r at 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?
Nishant Sivakumar at 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 at 18-Nov-11 11:10am
   
Well, either way lesson learned... Thanks!
Philippe Mori at 18-Nov-11 18:44pm
   
I have installed VS 11 Preview and I haven't noticed any such problem and Visual Studio 2010 continue to works properly.

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

  Print Answers RSS
0 OriginalGriff 515
1 Maciej Los 349
2 Richard MacCutchan 220
3 BillWoodruff 209
4 Mathew Soji 160
0 OriginalGriff 8,654
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,639
3 Maciej Los 5,229
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 29 Nov 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100