﻿To debug the tests you must disable the LoaderLock option of the Managed Debugging Assistant. To do this, perform the following steps:
1) In Visual Studio 2008 go to the Debug menu and select Exceptions.
2) Open the "Managed Debugging Assistants" node.
3) Unselect the option "Thrown" for "Loaderlock".