forked from qt-creator/qt-creator
debugger: make assignment of simple types work again
This commit is contained in:
@@ -966,7 +966,10 @@ void DebuggerManager::exitDebugger()
|
||||
void DebuggerManager::assignValueInDebugger()
|
||||
{
|
||||
if (QAction *action = qobject_cast<QAction *>(sender())) {
|
||||
qDebug() << "HANDLING " << action->data().toString();
|
||||
QString str = action->data().toString();
|
||||
int i = str.indexOf('=');
|
||||
if (i != -1)
|
||||
assignValueInDebugger(str.left(i), str.mid(i + 1));
|
||||
}
|
||||
}
|
||||
void DebuggerManager::assignValueInDebugger(const QString &expr, const QString &value)
|
||||
|
||||
Reference in New Issue
Block a user