Exemplo n.º 1
0
 public void SaveDumpFile(string fileName, DumpType dumpType, DumpFlags dumpFlags, string dumpDescription)
 {
     try
     {
         _debugee.WriteDumpFile(fileName, dumpType, dumpFlags, dumpDescription);
     }
     catch (COMException ce)
     {
         throw new DebugMonitorException("Dump failed.", ce);
     }
     catch (InvalidCastException ic)
     {
         throw new DebugMonitorException("Dump failed.", ic);
     }
 }