如题

解决方案 »

  1.   

    how are your project structured?you need to add some entry to the web.config file of some web application and create some page with that extension<configuration>
       <system.web>
          <httpHandlers>
             <add verb="*" path="*.sync" type="MyHandler.SyncHandler, MyHandler" />
          </httpHandlers>
       </system.web>
    </configuration>then you can attach the debugger to the IE and run your pageor you can create two projects, one for your httphandler, the other a web application, change the web.config, then add project reference to the httphandler projectadd breakpoints in your httphandler projects, start to debug the web app project,....
      

  2.   

    是这样的,先前做了一个HttpHandler组件(不是在ASP.NET项目中创建的,就是用.NET IDE建了一个C#类库),现在组件有些问题,却不知道怎么调试。是需要创建一个ASP.NET项目,然后把这个HttpHandler组件的源代码包含进去吗?
    还是有其它方法调试。项目属性中的调试选项卡应该怎么设置呢?
      

  3.   

    To saucer(思归):
        HttpHanlder项目的调试选项卡怎么设置呢?