@TraceMethod(display = "Set platform filter")
	public void set_platform_filter(@Param(schema = "Event", name = "event") RmiTraceObject obj) {
		Object ctxt = getObjectFromPath(obj.getPath());
		if (ctxt instanceof ThreadStartRequest req) {
			req.disable();
			req.addPlatformThreadsOnlyFilter();
			cmds.setValue(obj.getPath(), ATTR_PLATFORM_ONLY, true);
			req.enable();
		}
		if (ctxt instanceof ThreadDeathRequest req) {
			req.disable();
			req.addPlatformThreadsOnlyFilter();
			cmds.setValue(obj.getPath(), ATTR_PLATFORM_ONLY, true);
			req.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