forked from qt-creator/qt-creator
LLDB: Fix opening memory view after the first use
We always need to update the editor token even if we already know about the memory agent, because the editor behind it can change. Change-Id: I6101b5a5c1ee0698ae7c7668d0766056a19eadb8 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -1047,8 +1047,8 @@ void LldbEngine::fetchMemory(MemoryAgent *agent, QObject *editorToken,
|
||||
if (id == -1) {
|
||||
id = ++m_lastAgentId;
|
||||
m_memoryAgents.insert(agent, id);
|
||||
m_memoryAgentTokens.insert(id, editorToken);
|
||||
}
|
||||
m_memoryAgentTokens.insert(id, editorToken);
|
||||
runCommand(Command("fetchMemory")
|
||||
.arg("address", addr)
|
||||
.arg("length", length)
|
||||
|
||||
Reference in New Issue
Block a user