/// ------------------------------------------------------------------------------------ /// <summary> /// Creates a new object /// </summary> /// ------------------------------------------------------------------------------------ public DebugProcs() { #if DEBUG m_DebugReport = DebugReportClass.Create(); m_DebugReport.SetSink(this); #endif }
/// ------------------------------------------------------------------------------------ /// <summary> /// Creates a new object /// </summary> /// <param name="fShowAssertMsgBox"><c>true</c> to show message box on asserts, /// otherwise false</param> /// ------------------------------------------------------------------------------------ public DebugProcs(bool fShowAssertMsgBox) { #if DEBUG m_DebugReport = DebugReportClass.Create(); m_DebugReport.ShowAssertMessageBox(fShowAssertMsgBox); m_DebugReport.SetSink(this); #endif }