在VS2008中单击停止调试后,asp.net代码仍然执行 [英] The asp.net code still executes after clicking stopping debugging in VS2008

查看:168
本文介绍了在VS2008中单击停止调试后,asp.net代码仍然执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建一个asp.net页面,并逐步在调试模式下测试代码.

I create a asp.net page and test the code in debug mode step by step.

我一直认为,当我在IE中对其进行测试时,在VS2008中单击停止调试"后,该代码将停止运行,因为IE立即关闭.

I always think that the code will stop running after I click "stopping debugging" in VS2008 when I test it in IE because the IE closes immediately.

今天,我使用Firefox对其进行测试.我发现单击停止调试"后,代码仍然可以连续执行.

Today, I use Firefox to test it. I find that the code still executes continuously after I click "stop debugging".

我希望代码即使在FF中也立即停止运行.

I want the code stop running immediately even in FF.

我该怎么办?

推荐答案

假设您正在使用Cassini,请从任务栏中停止Web服务器.它将停止调试器和网站本身.

Stop the web server from the task bar, assuming you are using Cassini. It will stop the debugger and the web site itself.

这篇关于在VS2008中单击停止调试后,asp.net代码仍然执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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