Managed Compatibility Mode Does Not Support Edit and Continue
Datatips (mouse hover over variables in debug mode) not working in Visual Studio 2012 / Win 7 64bit
Tags:
c#
visual-studio
debugging
visual-studio-2012
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.
427
People also ask
How do I enable debugging in Visual Studio?
In the Visual Studio toolbar, make sure the configuration is set to Debug. To start debugging, select the profile name in the toolbar, such as <project profile name>, IIS Express, or <IIS profile name> in the toolbar, select Start Debugging from the Debug menu, or press F5.
How do I debug a variable in Visual Studio?
Go to menu Debug->Windows->Locals to make it appear. Watch Although it is a little manually you also can use 'Watch' you can drag and drop any variable to this window or right click then add to watch. Go to menu Debug->Windows->Watch to make it appear. Note.
9 Answers
THis helped me: you need to open in VS Tools | Options | Debugger | General and enable the flag [Use Managed Compatibility Mode].
177
Before running the application check you are running it in Debug
mode. If set to Release
mode change it to Debug
and then run. The debugger will then provide the data-tips.
24
I have found this solutions:
-
reinstall Visual Studio as advised here, but you have already tried it
-
Open your VS->Tools->Import and Export Settings Wizard->Reset all settings->No, just reset settings, overwriting my current settings-> Choose a Default Collection of Settings from MSDN Forum: Debugging - hover watch has stopped working
-
maybe you have Release build configuration
-
set Code Optimization property to Disabled under Project property windows
as advised in similar question on SO
25
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.
44
I had this same problem. My project had somehow gone into Release mode, so I changed it back to Debug mode via Build|Configuration Manager and it was working again, the datatips reappeared.
20
answered Oct 02 '22 21:10
Daren
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.
45
answered Oct 02 '22 20:10
Bryan Zambrano
I realize this is an older post. But I have the exact problem in Visual Studio 2019. The funny thing is that datatips are not showing on my external screens. But if I drag Visual Studio to my laptop screen, it shows without problems. Dragging it back to one of the two external screens and it won't show.
I also have a problem that the Project Properties and Team/Source Control Explorer does not show anything but white content until I switch to another tab and then back. Then it loads. I have tried enabling GPU support in Windows, but nothing.
Has anyone had the same experience?
I will of course try all of the suggestions for the datatips thing, as that's really decreasing my effectivity.
20
Try deleting the .vs
directory and restarting visual studio.
24
answered Oct 02 '22 22:10
liteflier
This 3 combinations solved it for me.
- Make sure you are in Debug mode
- Uncheck/Disable Use the legacy C#,VB.NET evaluator (Tools->Options->Debugger)
- Make sure Enable Just My Code is checked.
20
answered Oct 02 '22 20:10
Mohsen Karbassi
valentinodiany1971.blogspot.com
Source: https://exchangetuts.com/datatips-mouse-hover-over-variables-in-debug-mode-not-working-in-visual-studio-2012-win-7-64bit-1639638964556544
0 Response to "Managed Compatibility Mode Does Not Support Edit and Continue"
Post a Comment