Jul 2, 2010

Silverlight 3 Debugging in Visual Studio 2008: Breakpoint not hit

Today I hit the problem, that I could not any longer debug Silverlight client applications (it worked yesterday).

A lot of solutions have been posted out there, which did not help for me. The most common cause with other people was that the web project had the Silverlight Debugger option unticked. So enable it again.

image

Going back to the source code from yesterday and doing it again, showed me the following screen (“Do you want to enable Silverlight debugging for this project? …” – event when this tick was set!

image

After some time struggling around I found out, that I had to set the “Set as Start Page” again on my .htm page. I looks like this fixes something (btw, even when the start project was set correctly before!).