Dotnetdreamer's Weblog

SharePoint, Silverlight and Azure

Debugging Silverlight Application

Posted by Ramprasad Navaneethakrishnan on March 5, 2009

Yesterday, few of my collegues tried their hands on Silverlight application for the first time and they faced this issue, a simple one which will be faced by most of the Silverlight novices. The issue  is “Debugger not getting hit in the Silverlight project . So why is this? How to solve this?

Solution:

All Silverlight applications will have a hosting application which will be an ASP.NET web application..

1. Right click the ASP.NET web application – -> Properties

2. In the properties window, select the tab Web.

3. In the debugger’s section, check the Silverlight checkbox.

 debuggingsilverlight

4. Save the project properties.

5. Hit F5. Now you will be able to debug the Silverlight project

Leave your comments please.

Thanks.

4 Responses to “Debugging Silverlight Application”

  1. Shubh Raj said

    This is working. Thank you

  2. WOrks!! Thanks for the tip, saved me some time.

  3. You saved me life. thank you

  4. Ivan Petrus said

    Yes it works.Many thanks

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>