I am using Visual Studio 2010 to create a Silverlight 4 application.
I set a breakpoint in my code-behind, start the debug session from Visual Studio, and unfortunately, my breakpoint never gets hit.
So, I eventually I tried setting my default browser to Internet Explorer … and lo and behold … my breakpoint gets suddenly hit.
Is Chrome a supported browser for debugging Silverlight applications? If so, what am I missing in order to get this to work?
Or, is Internet Explorer the only supported browser when it comes to debugging?
See my answer and this answer on another question.
You have to manually attach to the Silverlight process. Use the
Debugmenu and selectAttach to Process...once you have started debugging (via F5 or theDebug/Start Debuggingoption).