From 0c4b447c772a44f6ff5ec406404a417b074ec04d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 25 Oct 2014 14:35:00 -0400 Subject: [PATCH] Task - Added CLI::dump. --- src/Task.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Task.cpp b/src/Task.cpp index 2d4ac1966..7a7b4c14d 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -1907,9 +1907,13 @@ float Task::urgency_blocking () const void Task::modify (modType type, bool text_required /* = false */) { std::string text = ""; + Tree* tree = context.parser.tree (); - if (tree) + if (context.config.getInteger ("debug.parser") >= 1) + { + context.debug (context.cli.dump ()); context.debug (tree->dump ()); + } context.debug ("Task::modify"); std::string label = " MODIFICATION ";