Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 994
xscape Avatar asked Jun 01 '10 11:06

xscape


People also ask

Can you debug a Silverlight application?

Here are the steps to enable Out of Browser debugging. Right click on Silverlight project and select Debug tab from the project properties. Select "Out-of-browser application" radio button to enable Out of Browser debugging. Right click on Silverlight project and select "Set as Startup project".

How do you debug a web application?

If you want to debug it, you should press F12 on Chrome to open the developer mode. You can see that the JS code of the current page is under the Source menu, you can set a breakpoint directly at the beginning of the script. Then you can click on the UI button or menu to start debugging(both js and backend activity ).

Can we debug on server?

You can remotely debug a Rule Execution Server application and ruleset deployed on an application server.


1 Answers

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

like image 163
Ralf de Kleine Avatar answered Sep 18 '22 02:09

Ralf de Kleine