Visual Studio调试问题 [英] Visual Studio Debugging Issue

查看:67
本文介绍了Visual Studio调试问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个问题困扰着我2天.在调试Asp.net项目时,出现此问题.

There is an issue which is bugging me for 2 days. while debugging an Asp.net project , I get this issue .

"Unable to step. The operation could not be completed. A retry should be performed."



几次.有谁知道如何解决它?问题也在此处通过链接中的解决方案进行了描述,但对我而言不起作用.对于那些试图提供帮助的人来说,最困难的部分可能是模仿问题.当我使用断点调试并按F10步进时,通常会出现此问题.

http://whileicompile.wordpress.com [^ ]
http://social.msdn.microsoft.com [ ^ ]

我正在使用Visual Studio2008.



several times. Does anyone knows how to fix it?? Problem is described here too with solution in the link, but it didn''t work for me. The toughest part for those trying to help might be to emulate the issue. It usually comes up when i debug using breakpoint and hitting F10 to step.

http://whileicompile.wordpress.com[^]
http://social.msdn.microsoft.com[^]

I am using Visual studio 2008.

推荐答案

Visual Studio开发团队建议针对此问题的2种解决方法..


1.调试ASP.NET和在IE中启用脚本调试时,会发生此问题.如果在IE中禁用脚本调试,或者在调试器服务器端和客户端问题之间切换时将其打开或关闭,则可以解决该问题.

-或-
2.如果您的Web应用程序正在使用setTimeout,则可以通过执行一些确保脚本运行频率降低的操作来避免或至少减少该问题.这可能意味着增加超时值,或者可能意味着在使用setTimeout时添加条件.
There are 2 workarounds for this issue recommended by development team of visual studio..


1. This problem happens when debugging ASP.NET and when script debugging is enabled in IE. If you disable script debugging in IE, or toggle it on and off when switching between debugger server-side and client-side problems, you would be able to work around the issue.

-or-
2. If your web application is using setTimeout, you may be able to avoid or at least reduce the problem by doing something to ensure that script runs less often. This could mean increasing the timeout value, or this could mean adding conditions around when setTimeout is used.


hiii,
类似的线程在这里

http://social.msdn.microsoft.com /forums/zh-CN/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52/ [ http://whileicompile.wordpress.com/2010/01 /28/workaround-visual-studio-debugger-will-not-step/ [
hiii,
similar threads are here

http://social.msdn.microsoft.com/forums/en-US/vsdebug/thread/2320a943-d52d-437a-abec-6f1e9f929b52/[^]

and

http://whileicompile.wordpress.com/2010/01/28/workaround-visual-studio-debugger-will-not-step/[^]


这篇关于Visual Studio调试问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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