forked from qt-creator/qt-creator
Debugger: Protect reloadRegisters against early calls.
Check for correct state (InferiorStopped).
This commit is contained in:
@@ -1588,6 +1588,8 @@ QList<Symbol> CdbDebugEngine::moduleSymbols(const QString &moduleName)
|
||||
|
||||
void CdbDebugEngine::reloadRegisters()
|
||||
{
|
||||
if (state() != InferiorStopped)
|
||||
return;
|
||||
const int intBase = 10;
|
||||
if (debugCDB)
|
||||
qDebug() << Q_FUNC_INFO << intBase;
|
||||
|
||||
Reference in New Issue
Block a user