Visual Basic Edit and Continue: 35606

<Statement> was deleted.

You tried to delete a statement that Edit and Continue is unable to delete. This error can occur if the deletion changes #region or changes the condition of an If statement when the instruction pointer is in the condition expression. (See Edit and Continue (Visual Basic): Unsupported Method and Property Body Edits).

Other conditions that can cause this error include changes to options and changes to class, structure, interface, module, or import declarations. For more information, see:

To correct this error

  • Choose Undo from the Debug menu to undo the change.

    -or-

  • Stop the debugging session, make your edits, and start a new debugging session.

See Also

Reference

Edit and Continue (Visual Basic): Unsupported Declaration Edits

Edit and Continue (Visual Basic): Unsupported Method and Property Body Edits

Edit and Continue (Visual Basic): Class Declaration Edits

Edit and Continue (Visual Basic): Structure Declaration Edits

Edit and Continue (Visual Basic): Interface Definition Edits

Edit and Continue (Visual Basic): Module Declaration Edits

Edit and Continue (Visual Basic): Imports Edits

Other Resources

Edit and Continue (Visual Basic)