Welcome, Guest!

Debugging in visual studio while ncover is running

Debugging in visual studio while ncover is running

by dsalaaf on Tuesday June 03, 2008, 12:44 PM

I was really hoping I could somehow run NCover on an executable while debugging that executablein Visual Studio. (i.e. using the "attach to process..." debugging method) so that I could place breakpoints to allow NCover to hit every code path by way of injecting values at debug time.

Is this possible? Does anyone have a better way that I missed?

Thanks,
Daniel

RE: Debugging in visual studio while ncover is running

by sporewell on Wednesday June 04, 2008, 07:40 AM

The method you describe is interesting, but it also sounds like a very inefficient way to get 100% coverage. A suite of unit tests would be a cleaner solution. What problem are you trying to solve with this approach?