Hi guys,
I have an issue when debugging through SpecFlow feature files and step definitions that results in an error and Visual Studio becomes unresponsive. I am hoping someone may have come across this before and has a solution, but a quick google search hasn't had much luck.
Steps to reproduce:
- I put a breakpoint on a line in the feature file.
- When debugging, Visual Studio correctly breaks at the expected point
- I am able to step into the step definition
- When I attempt to step out of the step definition back to the feature file the below error is encountered.
- Visual Studio becomes unresponsive for ~5 minutes until some background process timesout.
Note: This only occurs when stepping through the file. If I continue running (ie: F5 instead of F10) then execution continues normally.
Error Details:
An unhandled exception of type 'System.ExecutionEngineException' occurred in mscorlib.dll
System.ExecutionEngineException was unhandled
Message=Exception of type 'System.ExecutionEngineException' was thrown.
InnerException:
Setup details:
- I am running Visual Studio Professional 2013 on Windows 8 (running in a VM on a MacBook Pro)
- I am executing with Resharper 8
- Project is targeting .NET 4, though I have 3.5, 4, 4.5 and 4.5.1 frameworks installed
Thanks for your help in advance. Let me know if you need more details.
Cheers
Rob