diff options
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger.Soft')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs b/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs index 9d9992d9e3..acdfd4e14a 100644 --- a/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs +++ b/main/src/addins/MonoDevelop.Debugger.Soft/MonoDevelop.Debugger.Soft/SoftDebuggerEngine.cs @@ -138,6 +138,18 @@ namespace MonoDevelop.Debugger.Soft class MDLogger : ICustomLogger { + public string GetNewDebuggerLogFilename () + { + if (PropertyService.Get ("MonoDevelop.Debugger.DebuggingService.DebuggerLogging", false)) { + string filename; + var logWriter = LoggingService.CreateLogFile ("Debugger", out filename); + logWriter.Dispose (); + return filename; + } else { + return null; + } + } + public void LogError (string message, Exception ex) { LoggingService.LogError (message, ex); |