Unable to debug Silverlight application

by dsoltesz 19. May 2010 16:29 >

I was recently working on a silveright application when I suddenly noticed that my breakpoints were not being hit.  It took me a little while to figure out what was going on. 

To enable silverlight debugging make sure.

1.  <compilation debug="true" targetFramework="4.0"/>

2. Go to your .Web project file in solution explorer, right click and select Property -> click the Web tab -> at the bottom you'll see the Debuggers section, make sure ASP.NET and Silverlight are checked.

Hope this saves some of you some time.

 

Tags: ,

wcf ria services

about the author

My name is Dan Soltesz, and I"m a consultant specializing in Microsoft technologies

  • Silverlight 2.0,3.0,4.0,5.0
  • Windows Phone 7,8
  • Windows 8
  • WPF
  • MVC / SPA
  • ASP.NET 2.0,3.0,3.5,4.0
  • WCF, WCF Ria Services
  • Entity Framework / EF Code First
  • C#
  • MVVM, Repository Pattern

to name a few.  On this site you will find links to sites/blogs that I read and my own attempt at writing some blogs that may help others as well as a few miscellaneous items.  If there is something that you need to know about me and cannot find on this site, please feel free to contact me.

page list

sponsors

month list

recentcomments

Comment RSS