Thursday, August 11, 2011

Why Visual Studio Debugger is not working for my Silverlight Application?

"Why my Visual Studio debugger is not working for my Silverlight application?" - it's not a new question. People ask this several time in different forums. If you search on net, you may probably find the solution. But, in this post I am just sharing the solution once again for my blog readers and anyone on the net who may face similar issue in future.

In this post, I will share you 4 small tips. Just follow the steps from top to bottom and let me know which one resolved your problem. This tip might not be a new thing for you but don't forget to share to others. This could be useful for them.

One of my blog reader "Raksha" was facing an issue with her Visual Studio debugger. She was not able to find out the way to enable the debugging feature and came to my blog to ask me this question for help:

    While working with the Silverlight application, I found that it is not following the breakpoints while running the application. Please suggest a way so that I can debug the Silverlight application using the breakpoints.

Solution One

There could be some possibilities for that, but let me first tell you that the debugger works in Internet Explorer only. If you are using any browser other than Internet Explorer, you may notice this issue. There are some hacks but I am not interested on that to discuss here. So in such case, just use the IE and that could help you.

Solution Two

If you are facing the same issue in Internet Explorer and my friend @debug_mode is still searching the way to debug it Winking smile, you should first check whether the Silverlight debugging is enabled for your Silverlight project. To do this, just follow the below mentioned steps:

    Right click on the Web Application project that comes with Silverlight project
    From the context menu, chose "Properties". This will open the properties window in the screen

Read more: Kunal's Blog
QR: why-visual-studio-debugger-is-not.html

Posted via email from Jasper-Net