mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-29 07:31:38 +00:00
Merge remote-tracking branch 'origin/GP-0_Dan_testFixes-2022-11-17-patch-1' into patch
This commit is contained in:
commit
6ade149f4a
@ -1421,16 +1421,13 @@ public class DebuggerLogicalBreakpointServiceTest extends AbstractGhidraHeadedDe
|
||||
LogicalBreakpoint lb = Unique.assertOne(breakpointService.getAllBreakpoints());
|
||||
|
||||
// Simulate a step, which should also cause snap advance in recorder
|
||||
long oldSnap = recorder1.getSnap();
|
||||
mb.testModel.session.simulateStep(mb.testThread1);
|
||||
waitOn(mb.testModel.flushEvents());
|
||||
// NB. recorder may have its own threads / queues
|
||||
waitForPass(() -> assertTrue(recorder1.getSnap() > oldSnap));
|
||||
waitRecorder(recorder1);
|
||||
|
||||
waitOn(lb.delete());
|
||||
|
||||
waitForPass(() -> {
|
||||
assertTrue(breakpointService.getAllBreakpoints().isEmpty());
|
||||
assertEquals(0, breakpointService.getAllBreakpoints().size());
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -151,6 +151,10 @@ interface InternalTraceObjectValue extends TraceObjectValue {
|
||||
return getParent().doCreateValue(range, getEntryKey(), value);
|
||||
}
|
||||
}.set(lifespan, getValue());
|
||||
if (isObject()) {
|
||||
DBTraceObject child = getChild();
|
||||
child.emitEvents(new TraceChangeRecord<>(TraceObjectChangeType.LIFE_CHANGED, null, child));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user