private void RefreshBreakpoints() { //lock (emulatorLock) { SnesDebugApi.SetBreakpoints(_breakpoints.ToArray(), (UInt32)_breakpoints.Count); } }