Commit ac41af36 authored by hjk's avatar hjk
Browse files

debugger: break less when attemptint to assign strings with embedded newlines

It's still failing, but does not disturb the communication any longer.
parent 6bb7b617
......@@ -3529,7 +3529,7 @@ void GdbEngine::assignValueInDebugger(const QString &expression, const QString &
{
postCommand("-var-delete assign");
postCommand("-var-create assign * " + expression.toLatin1());
postCommand("-var-assign assign " + value.toLatin1(),
postCommand("-var-assign assign " + GdbMi::escapeCString(value.toLatin1()),
Discardable, CB(handleVarAssign));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment