protected void addEnabledProgramBreakpointWithSleigh(Program p) {
		try (Transaction tid = p.openTransaction("Create bookmark bp with sleigh")) {
			enBm = p.getBookmarkManager()
					.setBookmark(addr(p, 0x00400123), LogicalBreakpoint.ENABLED_BOOKMARK_TYPE,
						"SW_EXECUTE;1", "{sleigh: 'r0=0xbeef;'}");
		}
		waitForDomainObject(p);
	}
NB. The target could still be mid transaction. If we open this transaction too soon, then
the breakpoint gets aborted as well.
Ghidra/Test/DebuggerIntegrationTest/src/test/java/ghidra/app/plugin/core/debug/service/breakpoint/AbstractDebuggerLogicalBreakpointServiceTest.java