How to debug a webservice hosted by an IIS in a Silverlight application

≡放荡痞女 提交于 2019-12-01 00:30:48

问题


Anybody knows how to debug a web service hosted by an IIS in a Silverlight 4.0 application?

My IIS version is 7.5 and my operating system is windows 7.

Can you please specify the steps on how to?

Thank you so much


回答1:


When running the solution (in debug mode, or have symbol files up-to-date).

  1. Open the Debug menu then select Attach to process

    (Or use shortcut CTRL+ALT+P)

  2. Find the process w3wp.exe || WebDev.WebServerxx.EXE (Casini)

    (Check 'Show processes from all users' when working with IIS App Pool under other account)

  3. Click attach

  4. Set breakpoint(s)

  5. Do your debugging



来源:https://stackoverflow.com/questions/2949193/how-to-debug-a-webservice-hosted-by-an-iis-in-a-silverlight-application

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