public static void SaveWorkspace() { if (_workspace != null) { _workspace.WatchValues = new List <string>(WatchManager.GetWatchManager(CpuType.Cpu).WatchEntries); _workspace.SpcWatchValues = new List <string>(WatchManager.GetWatchManager(CpuType.Spc).WatchEntries); _workspace.Breakpoints = new List <Breakpoint>(BreakpointManager.Breakpoints); _workspace.Save(); } }
public static void SaveWorkspace() { if (_workspace != null) { _workspace.WatchValues = new List <string>(WatchManager.GetWatchManager(CpuType.Cpu).WatchEntries); _workspace.SpcWatchValues = new List <string>(WatchManager.GetWatchManager(CpuType.Spc).WatchEntries); _workspace.Sa1WatchValues = new List <string>(WatchManager.GetWatchManager(CpuType.Sa1).WatchEntries); _workspace.GsuWatchValues = new List <string>(WatchManager.GetWatchManager(CpuType.Gsu).WatchEntries); _workspace.Breakpoints = new List <Breakpoint>(BreakpointManager.Breakpoints); _workspace.CpuLabels = new List <CodeLabel>(LabelManager.GetLabels(CpuType.Cpu)); _workspace.SpcLabels = new List <CodeLabel>(LabelManager.GetLabels(CpuType.Spc)); _workspace.Save(); } }