public static IDebuggerSupport GetDebuggerSupport()
 {
     if (_debuggerSupport != null)
     {
         return _debuggerSupport;
     }
     if (!DebuggerOptions.Enabled)
     {
         return (_debuggerSupport = new DisabledDebuggerSupport());
     }
     return (_debuggerSupport = new DebuggerSupport());
 }
Ejemplo n.º 2
0
 protected MetadataWriter(CppCodeWriter writer)
 {
     this._writer          = writer;
     this._debuggerSupport = DebuggerSupportFactory.GetDebuggerSupport();
 }