forked from qt-creator/qt-creator
Debugger: Use hex instead of base64 encoding
... for transport of memory contents in CDB machinery. Change-Id: Id29aa2a3008ec7e4fc9494ca9e26c4057f895663 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -1541,7 +1541,7 @@ void CdbEngine::postFetchMemory(const MemoryViewCookie &cookie)
|
||||
cmd.args = QLatin1String(args);
|
||||
cmd.callback = [this, cookie](const DebuggerResponse &response) {
|
||||
if (response.resultClass == ResultDone && cookie.agent) {
|
||||
const QByteArray data = QByteArray::fromBase64(response.data.data());
|
||||
const QByteArray data = QByteArray::fromHex(response.data.data());
|
||||
if (unsigned(data.size()) == cookie.length)
|
||||
cookie.agent->addLazyData(cookie.editorToken, cookie.address, data);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user