[chronojump] When debug log starts, previous file is deleted
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] When debug log starts, previous file is deleted
- Date: Fri, 18 Mar 2016 16:29:24 +0000 (UTC)
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]