Silverlight Feeds - All your Silverlight feeds in one place.

Sponsors

Sunday, November 22, 2009

10 Steps to Debug Silverlight Out-of-Browser Applications without Attaching

by John Papa via JohnPapa.net on 11/22/2009 9:50:00 PM

The 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.

  1. Set the Web project that hosts the Silverlight application as the startup project in the solution
  2. Run (press F5)
  3. Install the application onto the computerimage
  4. Close the OoB application and stop debugging
  5. Set the Silverlight application as the startup project in the solution
  6. Right click the Silverlight application and choose Project Propertiesimage 
  7. Set the Start Action to “Installed out-of-browser application”
  8. Save all files in the project
  9. Set a breakpoint in the OoB application’s main formimage
  10. Press F5 and now you are debugging the OoB application!
email it!bookmark it!digg it!

Original Post: 10 Steps to Debug Silverlight Out-of-Browser Applications without Attaching

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. Silverlight Feeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on Silverlight Feeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us