mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-3899: refresh memory for everything except step
This commit is contained in:
parent
4b2bc8985b
commit
218e9d5582
2 changed files with 11 additions and 0 deletions
|
@ -1796,4 +1796,8 @@ public class DbgManagerImpl implements DbgManager {
|
|||
}
|
||||
}
|
||||
|
||||
public DebugStatus getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@ import java.util.Map;
|
|||
import java.util.concurrent.CompletableFuture;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import agent.dbgeng.dbgeng.DebugClient.DebugStatus;
|
||||
import agent.dbgeng.dbgeng.DebugModuleInfo;
|
||||
import agent.dbgeng.dbgeng.DebugProcessId;
|
||||
import agent.dbgeng.dbgeng.DebugThreadId;
|
||||
|
@ -113,6 +114,12 @@ public class DbgModelTargetProcessContainerImpl extends DbgModelTargetObjectImpl
|
|||
DbgReason reason) {
|
||||
DbgModelTargetProcess process = getTargetProcess(thread.getProcess());
|
||||
process.threadStateChangedSpecific(thread, state);
|
||||
if (!getManager().getStatus().equals(DebugStatus.STEP_INTO)) {
|
||||
DbgModelTargetMemoryContainer memory = process.getMemory();
|
||||
if (memory != null) {
|
||||
memory.requestElements(RefreshBehavior.REFRESH_ALWAYS);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue