visual studio调试选项不正常工作 [英] visual studio debug option is not workign properly

查看:97
本文介绍了visual studio调试选项不正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部,



我在visual studio中遇到了一个奇怪的问题。我打开一个解决方案Web应用程序在其中一个网页上应用一些代码更改并运行该项目。它允许添加断点,但我添加的新行不会像正常情况那样用正常的黄色突出显示。而且我写的新行对我在新代码行中更改的特定变量或对象没有影响。



我签入工具 - >选项 - >调试选项并取消选中require源代码以与原始版本完全匹配。但它仍然无法正常工作。



有谁知道如何解决这个问题?

HI all,

i have a weird problem in visual studio. i open a solution web application apply some code change on one of the web pages and run the project. it allows to add breakpoints but the new lines that i have added do not highlight with normal yellow color like it should happen. and also the new lines which i have written do not work no effect on particular variables or objects which i changed in new code line.

i check in the tools-> options-> debugging options and unchecked the require source code to exact match with original version. but still it don't work.

does anyone know how to solve this issue?

推荐答案

嗨Ravi,



步骤1:检查您是否正在调试模式下构建项目。

步骤2:删除bin&obj文件夹并重建项目。

步骤3:按ctrl + f5清除浏览器页面中的缓存。

Setp 4:.pdb文件在构建时生成,这是帮助我们调试的。

步骤5:在配置文件中检查属性设置为debug =true 。



希望这能解决你的问题。



Sriram.B
Hi Ravi,

Step 1: Check you are building the project in Debug mode.
Step 2: Delete the bin & obj folder and rebuild the project.
Step 3: Press ctrl+f5 to clear the cache in the browser page.
Setp 4: .pdb file gets generated on build which is the one help us debugging.
Step 5: In the config file check the attribute set as debug="true".

Hopefully this will resolve your problem.

Sriram.B


这篇关于visual studio调试选项不正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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