chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
I am using the nUnit GUI that is being launched via the typemockrunner (typemockrunner.exe nunit.exe).

When I launch nUnit this way and set a breakpoint in a test, the test does not stop at the breakpoint.

How do I debug tests using this method?

Thanks!
asked by djurden (640 points)

2 Answers

0 votes
I'm sorry, but I don't understand, how are you debugging your tests from NUnit GUI? You can only run your tests with it, not debug them.
answered by igal (5.7k points)
0 votes
If I just run nUnit gui without the typmockrunner.exe, I can set a breakpoint in the code and the debugger will stop at that point.

Oh...wait a minute. I just occurred to me that I can do this when I actually set the project up to start the nUnit gui when I click on the debug toolbar button in VS. I have not tried to start it through the typemockrunner this way. I'll try that and see what happens.
answered by djurden (640 points)
...