diff options
author | hjk <[email protected]> | 2014-01-04 01:34:51 +0100 |
---|---|---|
committer | hjk <[email protected]> | 2014-01-06 12:42:47 +0100 |
commit | 32aeb579bb0d54551687ee1e37bc2ca204c0f7cb (patch) | |
tree | 46bd59b2f06308e35d83dde13cf580ccf20691aa /src/plugins/debugger/debuggerplugin.cpp | |
parent | 63c2656d559b33f83a954bbec55448b89a962145 (diff) |
Debugger: Simplify "debug last command"
Let the engine decide what to do. Less magic parsing, less code,
and survives cleaning the log view.
Change-Id: Ic94f27899d7986fb5ce3d24bb2edce8e6faf899c
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index f1a02a89d37..4ab37373c5b 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -931,7 +931,6 @@ public slots: void aboutToUnloadSession(); void aboutToSaveSession(); - void executeDebuggerCommand(const QString &command, DebuggerLanguages languages); void coreShutdown(); #ifdef WITH_TESTS @@ -2449,14 +2448,6 @@ void DebuggerPluginPrivate::aboutToSaveSession() m_breakHandler->saveSessionData(); } -void DebuggerPluginPrivate::executeDebuggerCommand(const QString &command, DebuggerLanguages languages) -{ - if (currentEngine()->acceptsDebuggerCommands()) - currentEngine()->executeDebuggerCommand(command, languages); - else - showStatusMessage(tr("User commands are not accepted in the current state.")); -} - void DebuggerPluginPrivate::showStatusMessage(const QString &msg0, int timeout) { showMessage(msg0, LogStatus); |