forked from qt-creator/qt-creator
debugger: don't load registers if view is not shown
This commit is contained in:
@@ -3079,6 +3079,9 @@ void GdbEngine::activateSnapshot2()
|
||||
|
||||
void GdbEngine::reloadRegisters()
|
||||
{
|
||||
if (!plugin()->isRegisterViewVisible())
|
||||
return;
|
||||
|
||||
if (state() != InferiorStopped && state() != InferiorUnrunnable)
|
||||
return;
|
||||
if (!m_registerNamesListed) {
|
||||
|
||||
Reference in New Issue
Block a user