Partager via


C# Edit and Continue: error 4006 

Error Message

An 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.

    —or—

  • On the Debug menu, click Stop Debugging, then make the changes and start a new debugging session.

See Also

Reference

Supported Code Changes (C#)
Edit and Continue (Visual C#)

Other Resources

Edit and Continue Errors and Warnings (C#)