Browse Source

set TrackEvents to false per default

pull/1/head
Siegfried Pammer 16 years ago
parent
commit
6d7497f3f0
  1. 2
      src/AddIns/Analysis/Profiler/Controller/ProfilerOptions.cs
  2. 4
      src/AddIns/Analysis/Profiler/Frontend/AddIn/Src/OptionPanels/OptionWrapper.cs

2
src/AddIns/Analysis/Profiler/Controller/ProfilerOptions.cs

@ -106,7 +106,7 @@ namespace ICSharpCode.Profiler.Controller @@ -106,7 +106,7 @@ namespace ICSharpCode.Profiler.Controller
/// Creates default ProfilerOptions.
/// </summary>
public ProfilerOptions()
: this(true, DefaultSharedMemorySize, false, false, true, true, DefaultCounters)
: this(true, DefaultSharedMemorySize, false, false, true, false, DefaultCounters)
{
}
}

4
src/AddIns/Analysis/Profiler/Frontend/AddIn/Src/OptionPanels/OptionWrapper.cs

@ -38,7 +38,7 @@ namespace ICSharpCode.Profiler.AddIn.OptionPanels @@ -38,7 +38,7 @@ namespace ICSharpCode.Profiler.AddIn.OptionPanels
}
public static bool TrackEvents {
get { return properties.Get("TrackEvents", true); }
get { return properties.Get("TrackEvents", false); }
set { properties.Set("TrackEvents", value); }
}
@ -50,7 +50,7 @@ namespace ICSharpCode.Profiler.AddIn.OptionPanels @@ -50,7 +50,7 @@ namespace ICSharpCode.Profiler.AddIn.OptionPanels
properties.Get("DoNotProfileNetInternals", false),
properties.Get("CombineRecursiveFunction", false),
properties.Get("EnableDCAtStart", true),
properties.Get("TrackEvents", true),
properties.Get("TrackEvents", false),
ProfilerOptions.DefaultCounters
);
}

Loading…
Cancel
Save