private void mnuStepInto_Click(object sender, EventArgs e) { try { bool completed = env.Execute(txtEditor.Text); UpdateUI(); } catch (Exception ex) { // todo: log it txtEventLog.Text = ex.Message + System.Environment.NewLine + txtEventLog.Text; StopExecution(); } }