/// <summary> /// Create a new DebugUtilities instance /// </summary> /// <param name="debugClient"></param> public DebugUtilities(out IDebugClient debugClient) { _myThread = Thread.CurrentThread; int hr = _staticClient5.CreateClient(out debugClient); if (FAILED(hr)) { OutputVerboseLine("DebugUtilities Failed creating a new debug client for execution: {0:x8}", hr); debugClient = null; return; } _releaseClient = true; _threadSafe = false; _debugClient = debugClient as IDebugClient5; if (_dmlCapable == null || _dmlCapable.Value == false) { _dmlCapable = IsDebuggerDMLCapable(); } _preferDML = PreferDML(); }