Silverlight – Breakpoint will not currently be hit. No symbols loaded for this document.

Saravana

General

Jun 17, 2011

Just a quick tip, when you are trying to debug a Silverlight application by putting break point in the Silverlight code and you see the message “Breakpoint will not currently be hit. No symbols loaded for this document.” with a hallow icon and warning symbol. The reason for this is, Silverlight debugging is not enabled on the web application hosting the Silverlight XAP file. You can fix this easily by going to  “Properties” of the web application, choose “Web” from LHS tab, and under Debuggers section select the check box “Silverlight”.