Reputation: 1956
My Silverlight project in VS 2010 has stopped entering debug mode. Even if I set a breakpoint in the constructor of the Application class, it refuses to hit any breakpoints. My other projects are still fine, but I can't find any setting that may have accidentally gotten changed to keep me from debugging. What could be going on?
Upvotes: 2
Views: 1572
Reputation: 1956
Not sure what happened, but here's what got it working again.
I changed it to Release mode, compiled it. Closed and restarted VS, changed it back to Debug mode, ran it and breakpoints hit again.
Upvotes: 1
Reputation: 29
While Attaching the process please attach w3p.exe and iexplorer instance of Silverlight this should resolve your issue.
Upvotes: -1
Reputation: 189439
Open the properties of the associated Web Project. Select the Web Tab. Scroll to the bottom and in the "Debuggers" section make sure "Silverlight" is Checked.
Upvotes: 6
Reputation: 487
Make sure the dropdown in the toolbar is set to Debug and not Release
Upvotes: 0