void (DebugProcessImpl debugProcess, ReferenceType refType) { VirtualMachineProxy vm = debugProcess.getVirtualMachineProxy(); try { RequestManagerImpl manager = debugProcess.getRequestsManager(); Field field = refType.fieldByName(getFieldName()); if (field == null) { manager.setInvalid(this, JavaDebuggerBundle.message("error.invalid.breakpoint.missing.field.in.class", getFieldName(), refType.name())); return; } if (isWatchModification() && vm.canWatchFieldModification()) { manager.enableRequest(manager.createModificationWatchpointRequest(this, field)); LOG.debug("Modification request added"); } if (isWatchAccess() && vm.canWatchFieldAccess()) { manager.enableRequest(manager.createAccessWatchpointRequest(this, field)); if (LOG.isDebugEnabled()) { LOG.debug("Access request added field = " + field.name() + "; refType = " + refType.name()); } } } catch (Exception ex) { LOG.debug(ex); } }