static void OnStoreUserPrefs(object s, UserPreferencesEventArgs args) { args.Properties.SetValue("MonoDevelop.Ide.DebuggingService.Breakpoints", breakpoints.Save()); args.Properties.SetValue("MonoDevelop.Ide.DebuggingService.PinnedWatches", pinnedWatches); }
static void OnStoreUserPrefs(object s, UserPreferencesEventArgs args) { var baseDir = (args.Item as Solution)?.BaseDirectory; lock (breakpoints) args.Properties.SetValue("MonoDevelop.Ide.DebuggingService.Breakpoints", breakpoints.Save(baseDir)); args.Properties.SetValue("MonoDevelop.Ide.DebuggingService.PinnedWatches", pinnedWatches); }