3

I debug my Silverlight application and when I put breakpoint in push button even, it don't invoke when I push it. Don't You know why it is ? Why then my app don't pause and I don't move to code to iterate through line of code?

3 Answers 3

6

I had the same issue with Firefox. Change the default browser: Browse with... > Internet Explorer > Set as default.

And check your web project properties: Start Options > Debuggers: ASP.NET and Silverlight should be selected.

That should work.

Sign up to request clarification or add additional context in comments.

2 Comments

+1 My guess... Web project properties > Start Options > Debuggers: Silverlight not checked.
Also make sure that "ASP.NET" and "Native code" are unchecked. I've had trouble with multiple options checked
3

Also check you're in Debug not Release mode.

Comments

0

The easiest thing to do is to make sure you are deploying your app from within Visual Studio (by pressing F5). If you simply compile your app to a web server and run it from the web server, there's nothing inherently connecting the Visual Studio debugger to the Silverlight application. In its default setup, pressing F5 will give you debug support in Silverlight applications.

I know there's a way to attach a debugger to windows applications from within Visual Studio without pressing F5, but I'm not sure if you can do that with Silverlight applications running on your Windows machine.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.