From: jringle@gridpoint.com Subject: [PATCH] Enable VALGRIND_DEBUG_OUTPUT to get Valgrind options --- src/plugins/valgrind/valgrindengine.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/plugins/valgrind/valgrindengine.cpp b/src/plugins/valgrind/valgrindengine.cpp index 77e5fd2..762a639 100644 --- a/src/plugins/valgrind/valgrindengine.cpp +++ b/src/plugins/valgrind/valgrindengine.cpp @@ -42,7 +42,7 @@ #include #include -#define VALGRIND_DEBUG_OUTPUT 0 +#define VALGRIND_DEBUG_OUTPUT 1 using namespace Analyzer; using namespace Valgrind::Internal; @@ -88,9 +88,10 @@ bool ValgrindEngine::start() m_progress->setProgressValue(progressMaximum / 10); #if VALGRIND_DEBUG_OUTPUT - emit outputReceived(tr("Valgrind options: %1").arg(toolArguments().join(" ")), Utils::DebugFormat); - emit outputReceived(tr("Working directory: %1").arg(m_workingDirectory), Utils::DebugFormat); - emit outputReceived(tr("Command-line arguments: %1").arg(m_commandLineArguments), Utils::DebugFormat); + emit outputReceived(tr("Valgrind options: %1").arg(toolArguments().join(QString::fromUtf8(" "))), Utils::DebugFormat); + //emit outputReceived(tr("Valgrind options: %1").arg(toolArguments().join(" ")), Utils::DebugFormat); + //emit outputReceived(tr("Working directory: %1").arg(m_workingDirectory), Utils::DebugFormat); + //emit outputReceived(tr("Command-line arguments: %1").arg(m_commandLineArguments), Utils::DebugFormat); #endif const AnalyzerStartParameters &sp = startParameters(); -- 1.7.12.1.2.g0f9f35a