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:
hjk
2013-01-09 14:51:49 +01:00
parent 88c1d9f136
commit 885f8b34cf
3 changed files with 21 additions and 9 deletions

View File

@@ -230,12 +230,13 @@ protected: ////////// Gdb Process Management //////////
void startGdb(const QStringList &args = QStringList());
void reportEngineSetupOk(const GdbResponse &response);
void handleCheckForPython(const GdbResponse &response);
void handleInferiorShutdown(const GdbResponse &response);
void handleGdbExit(const GdbResponse &response);
void handleNamespaceExtraction(const GdbResponse &response);
void loadInitScript();
void loadPythonDumpers();
void tryLoadPythonDumpers();
void pythonDumpersFailed();
// Something went wrong with the adapter *before* adapterStarted() was emitted.
@@ -705,6 +706,7 @@ protected:
// debug information.
bool attemptQuickStart() const;
bool m_fullStartDone;
bool m_pythonAttemptedToLoad;
// Test
bool m_forceAsyncModel;