C# Edit and Continue: error 4035

A read only exception block has been deleted. You must revert your changes to continue or restart the debugging session

You have deleted an exception block that was marked read-only by Edit and Continue. This is unlikely to occur and is probably the result of an internal error. To continue debugging, you must undo the change. Otherwise, you must restart the debugging session to accept the change.

To undo code changes

  • On the Edit menu, click Undo.

To apply the code changes

  • 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#)