forked from qt-creator/qt-creator
Debugger: Add "Reload Debugging Helpers" to Log Window context menu
Change-Id: I5059dbf73482236a677de8c004ab33aaef3d4cd6 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user