diff options
author | David Karlaš <david.karlas@xamarin.com> | 2015-11-24 20:46:28 +0300 |
---|---|---|
committer | David Karlaš <david.karlas@xamarin.com> | 2015-11-24 20:46:28 +0300 |
commit | fdcef13057a9c4a9bc924602c9b2b33c1da3bf63 (patch) | |
tree | f5d45bca682a39c3946dbd9fee281e152288a4aa /main/src/addins/MonoDevelop.Debugger.Soft | |
parent | ee4190106f0d102c4fdce57fc3c5637cbce7b9aa (diff) | |
parent | 07a993cf6d80660fde31099c1aca8029a3035807 (diff) |
Merge branch 'master' into newExceptionDialog
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); |