Unable to set the next statement. The next statement cannot be changed at this time
问题 I suddenly started experiencing this error in Visual Studio 2015 and 2017, when trying to move the yellow cursor (next statement) in debugmode. The code I want to move over is nothing special (i.e does not include any try-catch and/or exception statements) and stepping through the code (F10, F11) works normally. Here is a code sample: protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { ddlCountry.SelectedIndex = 0; ddlCountry.DataSource = new List<string>() {"Germany",