private void break_mon_enter_contention(RmiTraceObject obj) {
		VirtualMachine vm = connector.getJdi().getCurrentVM();
		MonitorContendedEnterRequest brkReq = vm.eventRequestManager()
				.createMonitorContendedEnterRequest();
		Object ctxt = getObjectFromPath(obj.getPath());
		if (ctxt instanceof ReferenceType reftype) {
			brkReq.putProperty("Class", reftype);
			brkReq.addClassFilter(reftype);
		}
		if (ctxt instanceof ObjectReference ref) {
			brkReq.putProperty("Instance", ref);
			brkReq.addInstanceFilter(ref);
		}
		if (ctxt instanceof ThreadReference ref) {
			brkReq.putProperty("Thread", ref);
			brkReq.addThreadFilter(ref);
		}
		brkReq.enable();
		cmds.putEvents();
	}
NB: For the VirtualMachine, the step methods add requests for break-on-step for all threads.
These requests will remain pending until the VM is resumed.
Ghidra/Debug/Debugger-jpda/src/main/java/ghidra/dbg/jdi/rmi/jpda/JdiMethods.java