10 Steps to Debug Silverlight Out-of-Browser Applications without Attaching
Silverlight Sunday, November 22 2009The common technique many developers use to debug Silverlight Out of Browser applications is to attach the debugger to the SLLauncher.exe process. However, there is a another way to debug installed OoB apps. Attaching to the process does not allow you to catch and debug any startup code however this technique below does allow you to do so.
If you are running a Silverlight 4 beta application hosted in a web project, here are the steps to debug when in OoB mode.
- Set the Web project that hosts the Silverlight application as the startup project in the solution
- Run (press F5)
- Close the OoB application and stop debugging
- Set the Silverlight application as the startup project in the solution
- Set the Start Action to “Installed out-of-browser application”
- Save all files in the project
- Press F5 and now you are debugging the OoB application!



11.22.2009 at 4:59 PM
Thanks a lot John Papa for this 'Shorter' alternative route.
11.27.2009 at 1:36 PM
Great post. Thanks.
12.05.2009 at 7:39 AM
Thanks for the great post. The exact information is posted in a very symmetrical order.