Adding a statement which contains an anonymous method will prevent the debug session from continuing while Edit and Continue ...