private static void RunSession(Stream inputStream, Stream outputStream) { DebugSession debugSession = new MonoDebugSession(); debugSession.TRACE = trace_requests; debugSession.TRACE_RESPONSE = trace_responses; debugSession.Start(inputStream, outputStream).Wait(); }
private static void RunSession(Stream inputStream, Stream outputStream) { DebugSession debugSession = new MonoDebugSession(); debugSession.TRACE = trace_requests; debugSession.TRACE_RESPONSE = trace_responses; debugSession.Start(inputStream, outputStream).Wait(); if (logFile != null) { logFile.Flush(); logFile.Close(); logFile = null; } }