8
votes

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

1 Answers

19
votes

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