@TraceMethod(display = "Break on exception")
	public void break_exception(
			@Param(
				schema = "ReferenceType",
				description = "Reference Type (Class)",
				display = "Type",
				name = "reference_type") RmiTraceObject obj,
			@Param(
				description = "Caught exceptions will be notified",
				display = "NotifyCaught",
				name = "notify_caught") boolean notifyCaught,
			@Param(
				description = "Uncaught exceptions will be notified",
				display = "NotifyUncaught",
				name = "notify_uncaught") boolean notifyUncaught) {
		VirtualMachine vm = connector.getJdi().getCurrentVM();
		Object ctxt = getObjectFromPath(obj.getPath());
		if (ctxt instanceof ReferenceType reftype) {
			ExceptionRequest excReq = vm.eventRequestManager()
					.createExceptionRequest(reftype, notifyCaught, notifyUncaught);
			excReq.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