Breakpoints are not highlighting the entire line in Visual Studio 2013

痴心易碎 提交于 2019-12-10 21:32:46

问题


I recently installed the Update 2. So now when I put a breakpoint it just puts a red dot on the left side of the file, but it doesn't highlight the entire line. I am not sure if Update 2 changed the settings, but I thought so.

I tried this: in Tools>Options>Debugger>General>Highlight entire source line for breakpoints and current statement (C++ only). So it tells that this doesn't work for C#. What should I do to highlight the entire line?

UPDATE:


回答1:


I had the same problem and it went away by closing VS 2013 and delete / rename following registry keywords:

12.0_Config 12.0

in

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\

when restarting Visual Studio, the config settings dialog appeared and I selected not to import settings from previous version.

Breakpoints and current line while debugging were normal again :)




回答2:


I had the same problem on visual studio 2012 and by following the instruction by McNos, I was able to resolve the problem.

In my case, I renamed the registry node 11.0 to 11.0-OLD and 11.0_Config to 11.0-Config-OLD under

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\

Restarted visual studio and it popped the config settings dialog...

Thanks McNos



来源:https://stackoverflow.com/questions/24177870/breakpoints-are-not-highlighting-the-entire-line-in-visual-studio-2013

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!