[chronojump] When debug log starts, previous file is deleted



commit e476bda053c30bebd4ff98a47445cdf35e6e06ae
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Mar 18 13:58:08 2016 +0100

    When debug log starts, previous file is deleted

 src/gui/chronojump.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index bb64b3b..f7a907a 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -6234,6 +6234,9 @@ LogB.Debug("X");
        
        
        private void on_preferences_debug_mode_start (object o, EventArgs args) {
+               //first delete debug file
+               Util.FileDelete(Path.GetTempPath() + "chronojump-debug.txt");
+
                encoderRProcCapture.Debug = true;
                encoderRProcAnalyze.Debug = true;
                        


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]