C# Edit and Continue: error 4025 

Error Message

Error locating an active statement in source file. You must restart the debugging session.

This message is the result of a rare internal error, from which Edit and Continue cannot recover. You must restart the debugging session.

To correct this error

  • On the Debug menu, click Stop Debugging, make your 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#)