Search code examples
visual-studio-2008unit-testingdebuggingtestdriven.net

How to stop stepping into .NET source code using TestDriven.NET?


I just started using TestDriven.NET to debug on my tests, here is my setup

TestDriven.NET 2.17
VS 2008 SP1
Windows XP

The problem I run into is on exception it keeps stepping into the .NET Framework source code. I checked Tools > Options > Debugging and "Enable .NET Framework source stepping" is not checked and "Enable Just My Code (Managed only)" is checked.

I right click on the test case and run debug with TD.NET.

So, how do I turn this off, so on exception it doesn't go into .NET Framework source?

Thanks, Ray.


Solution

  • Blow away your .NET Framework symbols and change your symbol path to something weird, so the debugger can't step through it