@TraceMethod(display = "Set source filter")
	public void set_source_filter(
			@Param(
				schema = "Event",
				description = "Event",
				display = "Event",
				name = "event") RmiTraceObject obj,
			@Param(
				description = "Source Name Pattern",
				display = "SourceName",
				name = "source_name") String srcname) {
		Object ctxt = getObjectFromPath(obj.getPath());
		if (ctxt instanceof ClassPrepareRequest req) {
			req.disable();
			req.addSourceNameFilter(srcname);
			cmds.setValue(obj.getPath(), "SourceMatches", srcname);
			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