forked from qt-creator/qt-creator
Debugging: Pass a DebuggingLanguage arg in executeDebuggerCommand()
Change-Id: I99eedc86c987615072b7400051b61700b98ebab3 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -846,7 +846,7 @@ public slots:
|
||||
void aboutToUnloadSession();
|
||||
void aboutToSaveSession();
|
||||
|
||||
void executeDebuggerCommand(const QString &command);
|
||||
void executeDebuggerCommand(const QString &command, DebuggerLanguages languages);
|
||||
bool evaluateScriptExpression(const QString &expression);
|
||||
void coreShutdown();
|
||||
|
||||
@@ -2526,10 +2526,10 @@ void DebuggerPluginPrivate::aboutToSaveSession()
|
||||
m_breakHandler->saveSessionData();
|
||||
}
|
||||
|
||||
void DebuggerPluginPrivate::executeDebuggerCommand(const QString &command)
|
||||
void DebuggerPluginPrivate::executeDebuggerCommand(const QString &command, DebuggerLanguages languages)
|
||||
{
|
||||
if (currentEngine()->acceptsDebuggerCommands())
|
||||
currentEngine()->executeDebuggerCommand(command);
|
||||
currentEngine()->executeDebuggerCommand(command, languages);
|
||||
else
|
||||
showStatusMessage(tr("User commands are not accepted in the current state."));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user