private List<ThreadReference> getThreadsFromValue(RmiTraceObject obj) {
		Object object = getObjectFromPath(obj.getPath());
		if (object instanceof VirtualMachine vm) {
			return vm.allThreads();
		}
		List<ThreadReference> threads = new ArrayList<>();
		if (object instanceof ThreadReference thread) {
			threads.add(thread);
		}
		else {
			threads.add(connector.getJdi().getCurrentThread());
		}
		return threads;
	}
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