forked from qt-creator/qt-creator
Debugger: Move python initialization after first stop
This enables access to object-specific plain gdb pretty printers which are not available before startup. Change-Id: Icc8cbec177825d4d1adb1957a618abb33cbbf319 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -185,7 +185,7 @@ void GdbCoreEngine::handleTargetCore(const GdbResponse &response)
|
||||
QTC_ASSERT(state() == InferiorSetupRequested, qDebug() << state());
|
||||
if (response.resultClass == GdbResultDone) {
|
||||
// HACK: The namespace is not accessible in the initial run.
|
||||
loadPythonDumpers();
|
||||
tryLoadPythonDumpers();
|
||||
showMessage(tr("Attached to core."), StatusBar);
|
||||
handleInferiorPrepared();
|
||||
// Due to the auto-solib-add off setting, we don't have any
|
||||
|
||||
Reference in New Issue
Block a user