views:

99

answers:

1

I'm writing C code and sometimes when debugging, Visual Studio 2008 will not display any data when I hover over certain variables. It seems random, and although it's seldom, I'm in a tough spot when it does happen.

Does anyone know how to fix or avoid this?

Thank you very much!

A: 

Try recreating your Intellisense file. Close VS2008 and delete the .ncb file.

Soo Wei Tan
Thank you Soo Wei but that did not help. The same variable will not display. Do you have any other suggestions?Thank you!
I'm out of ideas... this only happens during debugging?BTW I use Visual Assist on top of VS2005 and it augments the standard Intellisense very well.
Soo Wei Tan
I just got another clue. When I added a watch on the variable and hovered over the value, it said "The value for this item is stale due to a problem that occurred while evaluating it. Hover your cursor over the refresh button for details." So my next question is, where is the refresh button? Thanks!
Never mind, it's the little button to the right of the 'Value' box. Didn't notice it...
Wait, that's only when it's out of scope of the routine I'm looking at. My original question remains the same.