Random
Random

Reputation: 1956

Silverlight project won't enter debug mode

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

Answers (4)

Random
Random

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

Bharat
Bharat

Reputation: 29

While Attaching the process please attach w3p.exe and iexplorer instance of Silverlight this should resolve your issue.

Upvotes: -1

AnthonyWJones
AnthonyWJones

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

Garvin
Garvin

Reputation: 487

Make sure the dropdown in the toolbar is set to Debug and not Release

Upvotes: 0

Related Questions