How do I attach Visual Studio 2010 to IIS 7 to debug a custom HttpModule written for an existing 3rd party web application

大憨熊 提交于 2019-12-06 01:05:09

A few things to check:

  • Make sure you have the right process. ASP.NET can decide to spawn multiple worker processes, especially if the process identity is different bettween apppools, etc.

  • Make sure the debug="true" is set in the compilation element in the web.config for the web application where the module is registered

  • Make sure the module is being compiled in Debug mode (ie: debug symbols are being generated).

The calling application should be irrelevant. You should be able to test this by just using a web browser to make a request to the virdir where the module is registered.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!