Merge remote-tracking branch 'origin/Ghidra_12.1'

This commit is contained in:
Ryan Kurtz
2026-04-07 13:31:39 -04:00
6 changed files with 116 additions and 89 deletions

View File

@@ -486,12 +486,7 @@ public class DebuggerLogicalBreakpointServicePlugin extends Plugin
}
protected void forgetAllBreakpoints(RemoveCollector r) {
Collection<TraceBreakpointLocation> toForget = new ArrayList<>();
for (AddressRange range : trace.getBaseAddressFactory().getAddressSet()) {
toForget.addAll(
trace.getBreakpointManager().getBreakpointsIntersecting(Lifespan.ALL, range));
}
for (TraceBreakpointLocation tb : toForget) {
for (TraceBreakpointLocation tb : List.copyOf(logicalByBreakpoint.keySet())) {
forgetTraceBreakpoint(r, tb);
}
}