I am using VS2010 unit testing framework.
Next to testing my code I am also doing some timing things. However, this means that when I use debug mode to step through the test code, the timings are skewed. Can I detect in the code if the test is ran with “Run” or “Debug”?
I am using VS2010 unit testing framework. Next to testing my code I am
Share
I believe
Debugger.IsAttachedwill get you what you need