public Change perform(IProgressMonitor pm) throws CoreException { Map map = new HashMap(); BreakpointUtils.addJavaBreakpointAttributes(map, fDestField); IResource resource = BreakpointUtils.getBreakpointResource(fDestField); int[] range = getNewLineNumberAndRange(fDestField); IJavaWatchpoint breakpoint = JDIDebugModel.createWatchpoint( resource, fDestField.getDeclaringType().getFullyQualifiedName(), fDestField.getElementName(), range[0], range[1], range[2], getHitCount(), true, map); apply(breakpoint); getOriginalBreakpoint().delete(); return new DeleteBreakpointChange(breakpoint); }
public Change perform(IProgressMonitor pm) throws CoreException { IField destField = fDestType.getField(getFieldName()); Map map = new HashMap(); BreakpointUtils.addJavaBreakpointAttributes(map, destField); IResource resource = BreakpointUtils.getBreakpointResource(destField); int[] range = getNewLineNumberAndRange(destField); IJavaWatchpoint breakpoint = JDIDebugModel.createWatchpoint( resource, fDestType.getFullyQualifiedName(), getFieldName(), range[0], range[1], range[2], getHitCount(), true, map); apply(breakpoint); getOriginalBreakpoint().delete(); return new DeleteBreakpointChange(breakpoint); }
resource = BreakpointUtils.getBreakpointResource(type); JDIDebugModel.createWatchpoint(resource, typeName, fieldName, -1, start, end, 0, true, attributes); } else { DebugPlugin.getDefault().getBreakpointManager().removeBreakpoint(breakpoint, true);
IResource resource = BreakpointUtils.getBreakpointResource(destinationField); int[] range = getNewLineNumberAndRange(destinationField); IJavaWatchpoint breakpoint = JDIDebugModel.createWatchpoint( resource, getDestinationType().getFullyQualifiedName(),