Visual Studio无法调试 [英] Visual Studio not debugging

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

问题描述

当我按下 F5 时,我的Web应用程序启动并运行,但是Visual Studio调试器未附加到该进程中.播放按钮始终处于启用状态.

When I press F5, my web application starts up and runs, but the Visual Studio debugger is not attached to the process. The play button is always enabled.

我检查了配置管理器,所有库和Web应用程序都是 debug | any-cpu .

I checked the configuration manager and all the libraries and web applications are debug|any-cpu.

推荐答案

您还可以在Visual Studio外部运行Web应用程序,然后选择Debug->附加到进程".在进程列表中,选择ASP.NET工作进程"asp_wp.exe".

You can also run your web application outside of Visual Studio, then select Debug->"Attach to process". In the process list, choose the ASP.NET working process, "asp_wp.exe".

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

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