Debugger: Add "Reload Debugging Helpers" to Log Window context menu

Change-Id: I5059dbf73482236a677de8c004ab33aaef3d4cd6
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2013-01-10 12:40:50 +01:00
parent 9035c802b0
commit 8a805c2e90
5 changed files with 32 additions and 1 deletions

View File

@@ -4922,6 +4922,15 @@ void GdbEngine::tryLoadPythonDumpers()
postCommand("bbsetup", ConsoleCommand);
}
void GdbEngine::reloadDebuggingHelpers()
{
// Only supported for python.
if (m_hasPython) {
m_pythonAttemptedToLoad = false;
tryLoadPythonDumpers();
}
}
void GdbEngine::handleGdbError(QProcess::ProcessError error)
{
const QString msg = errorMessage(error);