C# – Debugging Silverlight in Visual Studio 2010

breakpointscdebuggingsilverlight

I have an MVC application which uses a silverlight control.

Somewhere along the line something is happening in the silverlight cs code that isn't right. I've inserted break points in the CS silverlight code to get a better idea of what's happening, but for some reason I just can't step through the code.

I know code is being hit, but it's just not showing me in the debugger.

I thought it might be because I was using Chrome as the default browser but I changed this to Internet Explorer and still no joy.

I realize this is a very vague question, but has anyone else experience anything similar, and if so, how did you get around it?

Any help would be appreciated,

Thanks.

Best Answer

Be sure to set the Silverlight Debugging checkbox on the project properties Web tab