C# Edit and Continue: error 4006
Error MessageAn active statement marker has been deleted. You must revert your changes to continue or restart the debugging session
This error indicates that an active statement was removed, probably due to a rare internal error.
To fix this problem
Undo the changes, and then continue debugging without the changes.
On the Debug menu, click Stop Debugging, then make the changes and start a new debugging session.