JetBrains.Profiler.SelfApi/src/DotMemory.cs [254:267]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - public static void Attach() { Attach(new Config()); } /// /// Attaches dotMemory to the current process using the specified API configuration. /// public static void Attach(Config config) { if (config == null) throw new ArgumentNullException(nameof(config)); Helper.CheckAttachCompatibility(); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - JetBrains.Profiler.SelfApi/src/DotTrace.cs [235:251]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - public static void Attach() { Attach(new Config()); } /// /// Attaches dotTrace to the current process using the specified API configuration. /// Note: After attaching, the profiler goes to "Stopped" state. To start collecting data, /// call /// Profiler configuration /// public static void Attach(Config config) { if (config == null) throw new ArgumentNullException(nameof(config)); Helper.CheckAttachCompatibility(); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -