mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-6439: Fixed bug in DebuggerBreakpointsProvider when removing breakpoint
This commit is contained in:
@@ -851,9 +851,6 @@ public class DebuggerBreakpointsProvider extends ComponentProviderAdapter
|
||||
}
|
||||
|
||||
private void locationDeleted(TraceBreakpointLocation location) {
|
||||
if (!isVisible(location)) {
|
||||
return;
|
||||
}
|
||||
breakpointLocationRemoved(location);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user