断点未突出显示Visual Studio 2013中的整行 [英] Breakpoints are not highlighting the entire line in Visual Studio 2013

查看:148
本文介绍了断点未突出显示Visual Studio 2013中的整行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近安装了Update2。因此,当我放置一个断点时,它只是在文件的左侧放置了一个红点,但并未突出显示整行。我不确定Update 2是否更改了设置,但我是这样想的。

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.

我尝试了此操作:在 Tools> Options> Debugger> General> Highlight整个源代码中断点和当前语句行(仅C ++)。因此,它表明这不适用于C#。我应该怎么做才能突出显示整行?

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?

更新:

< img src = https://i.stack.imgur.com/GxBBC.jpg alt =在此处输入图片描述>

推荐答案

我遇到了同样的问题,它通过关闭VS 2013并删除/重命名了以下注册表关键字而消失了:

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


12.0_Config
12.0

12.0_Config 12.0

in


HKEY_CURRENT_USER\软件\ Microsoft\VisualStudio\

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\

重新启动Visual Studio时,出现了配置设置对话框,我选择了不

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 :)

这篇关于断点未突出显示Visual Studio 2013中的整行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆