I want to make the debugger in Visual Studio 2010 stop at the exception System.Data.Services.Client.DataServiceClientException.
I use Debugging -> Exceptions -> Common Language Runtime Exceptions.
When I drill down I would expect to see System.Data.Services entry, but that’s not the case.
How should I mark the exception for stopping, if I can’t find it in the hierarchy?
Although that particular exception is not present you can add it using the
Addbutton in the Exceptions dialog.On the add dialog box select Common Language Runtime Exceptions and use the full name of the exception
System.Data.Services.Client.DataServiceClientException. After tick the Thrown checkbox and the debugger should break when it’s thrown.