private void JumpButton_Click(object sender, EventArgs e) { int pc = breakpoints.GetIntFromHex(locationInput.Text); CPU.SetLongPC(pc); ClearTrace(); CPU.ExecuteNext(); }
private void DeleteBPButton_Click(object sender, EventArgs e) { if (BPCombo.Text != "") { breakpoints.Remove(BPCombo.Text); UpdateDebugLines(breakpoints.GetIntFromHex(BPCombo.Text), false); BPCombo.Items.Remove(BPCombo.Text); } if (breakpoints.Count == 0) { BPCombo.Text = ""; } else { BPCombo.Text = breakpoints.Values[0]; } BPLabel.Text = breakpoints.Count.ToString() + " Breakpoints"; }