If you’re using RIA Services then you might be using the “Silverlight Business Application” template which has an issue with out-of-browser debugging which causes it to throw an exception rather than start your debugging session properly.
Fortunately, it’s an easy workaround documented below;
“Debugging an OOB Silverlight Business Application”