使用网站附加到 VS2010 Express 中的流程。是否可以?
我已阅读这篇文章,但它适用于带有 .csproj 的 Web 项目...“网站”怎么样?
http://www.ninjatrader.com/support/forum/showthread。 php?t=15671
这里的工作人员告诉我只需response.write我的方式来调试网站,但我真的很怀念vs2010专业版中的附加到进程..或者也许我必须这样做习惯了response.write调试吗?
(我没有调试的原因是ektron 8.0无法编译vs2010..所以我必须附加到进程..或使用vs2008)
I have read this article but it applies to web projects with a .csproj... What about a 'web site'?
http://www.ninjatrader.com/support/forum/showthread.php?t=15671
People at work here tell me to just response.write my way to debug the web sites but I really miss the attach to process that is in the professional edition of vs2010.. or maybe I have to get used to response.write debugging?
(Reason I am not debugging is ektron 8.0 does not compile is vs2010.. so I must attach to process.. or use vs2008)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Visual Studio 2010 Express Edition 支持附加到进程,但仅在专家设置中可用。
转到工具->设置->专家设置。
进行此更改后,您应该在调试菜单中看到附加到进程按钮。
Visual Studio 2010 Express Edition supports Attach to process but it is available only in Expert Settings.
Go to Tools->Settings->Expert Settings.
After this change, you should see Attach to Process button in Debug menu.
它不适用于 VS2100 Express。检查链接。 http://msdn.microsoft.com /en-us/library/vstudio/c6wf8e4z(v=vs.100).aspx
It isn't available for VS2100 Express. Check the link. http://msdn.microsoft.com/en-us/library/vstudio/c6wf8e4z(v=vs.100).aspx
对于托管在另一个应用程序(如 IIS)上的网站,一个选项是使用属性页。
在解决方案资源管理器中右键单击项目/网站 -> 属性页 -> 启动选项
然后,链接到该网站就像按播放调试按钮并导航到您的网址一样简单。
注意:这是在 VS Express for Web 2012(版本 11.0.50727.1)的网站项目中进行测试的。
An option for websites hosted on another application (Like IIS) is to use the property pages.
Right Click on Project/Website in Solution Explorer->Property Pages->Start Options
Then, linking to the website is as easy as pressing the play-debug button and navigating to your url.
NB: This was tested in VS Express for Web 2012 (ver. 11.0.50727.1) on a Web Site project.
就像上面的帖子中所说,您可以在 Visual Studio Express 中使用“附加到进程”。但没有必要将您的设置更改为“专家设置”。您所要做的就是将该命令添加到调试菜单中。
工具->定制->命令->菜单栏:调试->添加命令...->调试->附加到进程
Just like said in the post above, you can use "Attach to process" in visual studio express. But it's not necessary to change your settings to "expert settings". All you have to do is add the command to the debug menu.
Tools-> Customize -> Commands -> Menu bar: Debug -> Add Command... -> Debug -> Attach to Process
试试这个:
..瞧!
Try this:
.. voila!