diff --git a/src/commands/Command.cpp b/src/commands/Command.cpp index eb0757c30..78a7e44a2 100644 --- a/src/commands/Command.cpp +++ b/src/commands/Command.cpp @@ -292,6 +292,13 @@ void Command::filter (const std::vector & input, std::vector & outpu A3 filt = context.a3.extract_filter (); filt.dump ("extract_filter"); + if (context.config.getBoolean ("debug")) + { + Tree* t = context.a3t.tree (); + if (t) + context.debug (t->dump ()); + } + if (filt.size ()) { E9 e (filt); @@ -315,6 +322,13 @@ void Command::filter (std::vector & output) A3 filt = context.a3.extract_filter (); filt.dump ("extract_filter"); + if (context.config.getBoolean ("debug")) + { + Tree* t = context.a3t.tree (); + if (t) + context.debug (t->dump ()); + } + if (filt.size ()) { context.timer_filter.stop ();