Datatips (mouse hover over variables in debug mode

2019-01-22 06:38发布

When I hover my mouse over a variable when debugging a C# app in Visual Studio nothing popups. I expect to see the value of the variable (aka datatips). I'm running Visual Studio 2012 Ultimate (trial edition) on Windows 7 64bit. Does anyone know what may prevent them from showing?

Things I've tried to no avail: - Reinstall VS - Search for an enable/disable setting but there doesn't seem to be one

I can see the datatips correctly with the same C# project on Windows 8/64bit with the same version of Visual Studio.

8条回答
虎瘦雄心在
2楼-- · 2019-01-22 07:24

the same happened to me but only with C#, active mode administered compatibility (Managed Compatibility Mode) and it worked well, then I wanted to modify the code while had debugged and came out a motioning message "compatibility mode administered is not supports edit and continue" then turn it off again, under native support is (Use the legacy C# and VB expression evaluators) enable this option and you can see the value of objects and edit code debugging.

Greetings.

查看更多
贼婆χ
3楼-- · 2019-01-22 07:32

I had this problem so I deleted all the *.suo and *.user files I could find in the solution directory and that seemed to fix it.

查看更多
登录 后发表回答