Search code examples
visual-studio-2008galliotestdriven.net

Edit and continue with TestDriven .NET and Gallio


I have VS08sp1, Gallio 3.0.6.763 and TestDriven.NET 2.14. I use MBUnit framework for unit tests. When using TestDriven's Test With > Debugger, I am able to step into the code. However, I am unable to "Edit and Continue", despite this option being turned on in VS options. I get the following error message:

changes are not allowed when the debugger has been attached to an already running process

The project that is being unit tested is a windows class library and I can "Edit and continue" while running the library through the regular debugger. I would appreciate any help with getting "edit and continue" to work.

Thanks!


Solution

  • From http://www.testdriven.net/downloads/releasenotes.html:

    705: Add (hidden) support for 'Test With... E&C'

    To enable 'Test With... Debugger (E&C)' that works with Edit & Continue; edit the 'TestDriven.dll.config' file and uncomment . This test runner may 'touch' project files when used with source control (this is why it's disabled by default).