The Breakpoint will not currently be hit: No symbols have been loaded for this document

Grayson Mitchell picture Grayson Mitchell · Apr 25, 2010 · Viewed 23.7k times · Source

I am using VS2010, and Silverlight 4. When I run my code the debugging does not work (I get the above error on my breakpoints.

When I clean my solution a warning comes up saying that the system cannot find the file specified (a project dll). It is looking in the right path (..\debug), but there is no dll present.

I started a new Silverlight 4 project, and get the same error.

Sometime's the debugging does work (I am not sure if/what anything changed, but on one occasion I was surprised that my breakpoints worked. After changing one thing the breakpoints stopped working)

Answer

Marc Roussel picture Marc Roussel · Jun 6, 2012

For me I had to go in the properties of the Web project » Web tab » Check 'Silverlight' in the Debugger section at the bottom. enter image description here