Partager via


C# Edit and Continue: error 4007 

Error Message

An active statement marker has been deleted and cannot be remapped in the current source file. You must revert your changes to continue or restart the debugging session

This message is usually the result of a rare internal error.

To undo code changes

  • On the Edit menu, click Undo.

    This will end the debug session and start a new session.

To apply the code changes

  • On the Debug menu, click Restart.

    This will end the debug session and start a new session.

See Also

Reference

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

Other Resources

Edit and Continue Errors and Warnings (C#)