May 31, 2010 at 2:56 PM
Edited May 31, 2010 at 3:00 PM
What you can try is enable "Thrown" for CLR exceptions in Debug > Exceptions in Visual studio and hope you see the actual exception occurring.
All three parts of AgUnit require a different method of debugging:
- To debug AgUnit.xap (the silverlight part of the runner), use "Silverlight debug unit tests"
- To debug AgUnit.Runner.Common.dll (the .NET part of the runner/browser interop), use "Debug unit tests"
- To debug AgUnit.Runner.Resharper50.dll (the R# add-in), follow the steps described in README.txt (debugging visual studio itself)
What I usually also do is include the "AgUnit" and "AgUnit.Runner.Common" projects in the same solution as my test project, that way you can debug everything.
I guess the problem lies in the Silverlight part.