From f2922549675def0b2ba96ec44b912fb7f7dcf349 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 21 Jul 2010 12:04:20 +0200 Subject: debugger: attempt to re-try examining dumper location after build. Still does not work as the location itself is unknown. --- src/plugins/debugger/debuggerrunner.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/plugins/debugger/debuggerrunner.cpp') diff --git a/src/plugins/debugger/debuggerrunner.cpp b/src/plugins/debugger/debuggerrunner.cpp index fb49cba4f8..6ce74e6f97 100644 --- a/src/plugins/debugger/debuggerrunner.cpp +++ b/src/plugins/debugger/debuggerrunner.cpp @@ -145,6 +145,10 @@ static DebuggerStartParameters localStartParameters(RunConfiguration *runConfigu sp.useTerminal = rc->runMode() == LocalApplicationRunConfiguration::Console; sp.dumperLibrary = rc->dumperLibrary(); sp.dumperLibraryLocations = rc->dumperLibraryLocations(); + // FIXME: If it's not yet build this will be empty and not filled + // when rebuild as the runConfiguration is not stored and therefore + // cannot be used to retrieve the dumper location. + //qDebug() << "DUMPER: " << sp.dumperLibrary << sp.dumperLibraryLocations; sp.displayName = rc->displayName(); // Find qtInstallPath. @@ -171,7 +175,8 @@ RunControl *DebuggerRunControlFactory::create return create(sp, runConfiguration); } -DebuggerRunControl *DebuggerRunControlFactory::create(const DebuggerStartParameters &sp, +DebuggerRunControl *DebuggerRunControlFactory::create( + const DebuggerStartParameters &sp, RunConfiguration *runConfiguration) { DebuggerRunControl *runControl = -- cgit v1.2.1