Debugger: Show locals when loading core dumps

Make sure locals are shown (instead of inspector) in Locals and
Expressions when a core dump is loaded.

Change-Id: I434acac59a2c575a2425e2ba06a13020c17547e4
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Kai Koehne
2012-05-14 16:03:44 +02:00
committed by hjk
parent 33ec5eb246
commit c7a431455e

View File

@@ -2342,6 +2342,8 @@ void DebuggerPluginPrivate::updateState(DebuggerEngine *engine)
m_debugWithoutDeployAction->setEnabled(false);
m_visibleStartAction->setAction(m_undisturbableAction);
m_hiddenStopAction->setAction(m_exitAction);
// show locals in core dumps
m_localsAndWatchersWindow->setShowLocals(true);
} else {
// Everything else is "undisturbable".
m_interruptAction->setEnabled(false);