+3  A: 

Debugging tests should be exactly the same as debugging your code - put a break point and run the test in debug (in MSTest ctrl+R, ctrl+T).

Dror Helper
+1  A: 

Depending on you testrunner (Nunit or VS) you start the test in debug mode (VS) or you start the testrunner and attach to the proces of the testrunner (nunit)

Malcolm Frexner
@Malcolm Frexner -- I'm sorry for the question. Can u be a little explicit with the steps? How do I attach the testrunner in NUnit?
Richard77
Open Nunit. In VS choose Debug -> Attach to process. Select the process "Nunit". Set a beakpoint to the test. Run the Test in Nunit. Hope it helps.
Malcolm Frexner
A: 

Another approach would be to create unit tests that act as breakpoints. It would require refactoring the SUT.

Gutzofter