在IIS下运行的网站的调试dll [英] Debug dll of website running under IIS
本文介绍了在IIS下运行的网站的调试dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有c#类库,它是大型网站的一部分.生成后,生成的dll文件通过生成后事件命令行自动复制到bin文件夹中:
I have c# class library that it is a part of a big web site. After build, generated dll file copy to bin folder automatically by post-build event command line:
copy $(TargetPath) "C:\MyWebSite\bin"
我的网站在IIS下运行,我想在单独的解决方案中调试我的类库.我该如何调试?
My web site run under IIS and I want to debug my class library that its in a separated solution. How can I debug it?
推荐答案
在要调试的DLL解决方案中,设置断点并从菜单Debug
-Attach to Process...
中选择,然后选择与您的站点有关的w3wc进程池
In solution with your DLL which you want to debug, set break point and choose from menu Debug
- Attach to Process...
, then choose w3wc process with your site pool
这篇关于在IIS下运行的网站的调试dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文