views:

270

answers:

2

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.

+2  A: 

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

Paul Betts
How do you do this exactly?
ray247
I got it, I went to Tools > Options > Debugging > Symbols and delete the Cache symbols from symbol servers to this directory. Thanks!
ray247
A: 

If you step in only when exception happens the solution is simpler: Go to Debug -> Exceptions and uncheck all the checkboxes.

Ohad Horesh