IE8 .NET和调试断点 [英] IE8 .NET and Debugging breakpoints
本文介绍了IE8 .NET和调试断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我注意到我的断点在Internet Explorer 8中一直没有工作。
如果我在启动网站时打开IE8窗口调试模式,断点不会被击中。
如果启动应用程序时没有打开IE8窗口,我可以正常调试。
其他人,能够重现这个,或者知道在调试过程中打开更多IE8 Windows的方法吗? (我必须知道你的BYT!)
谢谢
I''ve noticed that my breakpoints don''t work all of the time in Internet Explorer 8.
If I have an IE8 window open when I start the website in debug mode, the break points won''t be hit.
If there are no IE8 windows open when I start the application, I can debug as normal.
Anyone else, able to reproduce this, or know of a way to have more IE8 Windows open during debugging? (I gotta have my BYTES you know!)
Thanks
推荐答案
更新:如果我发布一个新窗口,来自之前的调试会话。并保持开放。即使我停止调试。接下来的调试会话,不会达到断点。
但是:如果我没有调试,没有打开IE8窗口,请打开IE 8窗口。然后开始调试,我可以点击断点。
WorkAround:不要从VS用于调试会话的IE8实例中生成任何窗口!
Update: This seems to happen if I launch a new window, from a previous debug session. And keep it open. Even after I stop debugging. The next debug sessions, will not hit the break points.
But: If I am not debugging, with no IE8 windows open, open an IE 8 Window. Then start debugging, I can hit the break points.
WorkAround: Do not spawn any windows from an instance of IE8 that is being used by VS for a debug session!
嗯,我遇到了同样的问题,除了我没有产生窗口。
我发现如果我暂停然后重新启动调试我的断点将再次起作用。
Hmm, I run into the same problem sometimes except that I''m not spawning windows.
I have found that if I pause and then restart debugging my break points will work again.
感谢您的回复。
所以我试图重现,我列出的是产生的窗口。然而,当我点击VS停止调试时,我的所有Spawned窗口都关闭了。
如果我有问题,我会尝试暂停,然后继续调试,看看如果这对我有用。
主要是我想在这里发帖子,所以当其他人进行搜索时会出现一些指导。因为,我发现的一切都很正常,请确保在属性页面和Web.config中检查asp.net。但这对IE8来说是特别的。
Thanks for the reply.
So I tried to reproduce, what I had listed, the spawned window. Yet NOW when I click in VS to stop debugging, all of my Spawned windows close down.
If I have the issue, I will try the Pause and then continue on Debugging, and see if that works for me.
Mainly I wanted to get a post up here, so some guidance would show up when other people did a search. Because, all i found was the normal, Make sure you asp.net is checked in the properties page, and Web.config stuff. But this is particular to IE8.
这篇关于IE8 .NET和调试断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文