调试问题 - Cassini 上的 VS 2008 Web 服务

发布于 2024-08-01 21:40:34 字数 190 浏览 2 评论 0原文

我正在 Visual Studio 中测试 Web 服务,并使用调试器逐步完成。

然后我单击停止调试。 这会停止调试会话,但程序会像失控的火车一样继续运行。

这是 Visual Studio 2008 的“错误”还是“功能”? 如果这是一项功能,当我单击“停止调试”时,如何告诉 Visual Studio 停止执行?

I'm testing a web service in Visual Studio, and stepping through using the debugger.

Then I click stop debugging. This stops the debugging session, but the program continues to run like a runaway train.

Is this a "bug" or a "feature" of Visual Studio 2008? If it's a feature, how can I tell Visual Studio to halt execution when I click on 'stop debugging'?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

无所谓啦 2024-08-08 21:40:34

当您运行 Web 服务时,即使您停止它们,它们仍然在后台运行,您可以做的是查看右侧的任务栏,然后通过右键单击图标来关闭正在运行的 Web 服务实例,然后按停止。

When you run webservices, even when you stop them, they still run on the background, what you can do is look in the taskbar on the right hand side and close out the instances of the webservice that are running by right clicking on the icon and pressing stop.

诠释孤独 2024-08-08 21:40:34

Visual Studio 使用的 Web 服务器将在后台保持运行。 您应该能够使用任务栏中的图标来停止它。

The web server that visual studio uses will keep running in the background. You should be able to stop it using the icon in the task bar.

落花浅忆 2024-08-08 21:40:34

或者,如果您有很多实例正在运行,我最喜欢的小技巧是弹出运行命令并输入:

tskill webdev

Or if you have lots of instances running, my favourite little trick is to pop open the run command and type:

tskill webdev

一世旳自豪 2024-08-08 21:40:34

当您停止调试应用程序时,asp.net 开发服务器可能正在运行。 你应该能够从它的托盘图标停止它

While you've stopped debugging the application chances are that the asp.net developement server is running. you should be able to stop that from its tray icon

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文