GP-6439: Fixed bug in DebuggerBreakpointsProvider when removing breakpoint

This commit is contained in:
ghidra_red
2026-09-01 13:56:46 +00:00
parent f0774b72f2
commit d9969ff988
4 changed files with 101 additions and 10 deletions

View File

@@ -851,9 +851,6 @@ public class DebuggerBreakpointsProvider extends ComponentProviderAdapter
}
private void locationDeleted(TraceBreakpointLocation location) {
if (!isVisible(location)) {
return;
}
breakpointLocationRemoved(location);
}

View File

@@ -104,7 +104,7 @@ public record PlaceEmuBreakpointActionItem(Trace trace, long snap, Address addre
try (Transaction tx = trace.openTransaction("Place Emulated Breakpoint")) {
// Defaults with emuEnable=true
TraceBreakpointLocation loc = trace.getBreakpointManager()
.addBreakpoint(computePath(), Lifespan.at(snap),
.addBreakpoint(computePath(), Lifespan.ALL,
BreakpointActionItem.range(address, length), Set.of(), kinds, false, null);
loc.setName(snap, createName(address));
loc.setEmuSleigh(snap, emuSleigh);