diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2011-11-23 00:36:29 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2011-11-23 00:36:29 +0400 |
commit | 85493c34e8a62745af8b410ad44d6dd993994e9d (patch) | |
tree | 678460103eeb185554aa19ce86d7f1b563304a09 /main/src | |
parent | 4553a89c7b1620df016d727afa77fb470a6e5564 (diff) |
[Debugger] Remove LogWriter from new custom transport API
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs | 6 | ||||
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerStartInfo.cs | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs b/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs index e127942b86..a15bfd771c 100644 --- a/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs +++ b/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerSession.cs @@ -133,7 +133,7 @@ namespace Mono.Debugging.Soft try { string appName; VirtualMachine vm; - startArgs.ConnectionProvider.EndConnect (ar, LogWriter, out vm, out appName); + startArgs.ConnectionProvider.EndConnect (ar, out vm, out appName); this.remoteProcessName = appName; ConnectionStarted (vm); return; @@ -151,13 +151,13 @@ namespace Mono.Debugging.Soft try { if (timeBetweenAttempts > 0) System.Threading.Thread.Sleep (timeBetweenAttempts); - ConnectionStarting (startArgs.ConnectionProvider.BeginConnect (callback, LogWriter), dsi, false, 0); + ConnectionStarting (startArgs.ConnectionProvider.BeginConnect (dsi, callback), dsi, false, 0); } catch (Exception ex2) { OnConnectionError (ex2); } }; //the "listening" value is never used, pass a dummy value - ConnectionStarting (startArgs.ConnectionProvider.BeginConnect (callback, LogWriter), dsi, false, 0); + ConnectionStarting (startArgs.ConnectionProvider.BeginConnect (dsi, callback), dsi, false, 0); } void StartLaunching (SoftDebuggerStartInfo dsi) diff --git a/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerStartInfo.cs b/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerStartInfo.cs index 049d069994..06db05aedc 100644 --- a/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerStartInfo.cs +++ b/main/src/addins/MonoDevelop.Debugger.Soft/Mono.Debugging.Soft/SoftDebuggerStartInfo.cs @@ -66,8 +66,8 @@ namespace Mono.Debugging.Soft public interface ISoftDebuggerConnectionProvider { - IAsyncResult BeginConnect (AsyncCallback callback, OutputWriterDelegate log); - void EndConnect (IAsyncResult result, OutputWriterDelegate log, out VirtualMachine vm, out string appName); + IAsyncResult BeginConnect (DebuggerStartInfo dsi, AsyncCallback callback); + void EndConnect (IAsyncResult result, out VirtualMachine vm, out string appName); void CancelConnect (IAsyncResult result); bool ShouldRetryConnection (Exception ex); } |