Beispiel #1
0
 static void OnStoreUserPrefs(object s, UserPreferencesEventArgs args)
 {
     args.Properties.SetValue("MonoDevelop.Ide.DebuggingService.Breakpoints", breakpoints.Save());
     args.Properties.SetValue("MonoDevelop.Ide.DebuggingService.PinnedWatches", pinnedWatches);
 }
Beispiel #2
0
        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);
        }