| org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint org.eclipse.jdt.internal.debug.core.breakpoints.JavaLineBreakpoint org.eclipse.jdt.internal.debug.core.breakpoints.JavaStratumLineBreakpoint
Constructor Summary | |
public | JavaStratumLineBreakpoint() | public | JavaStratumLineBreakpoint(IResource resource, String stratum, String sourceName, String sourcePath, String classNamePattern, int lineNumber, int charStart, int charEnd, int hitCount, boolean register, Map attributes) Creates and returns a line breakpoint identified by its source file
name and/or path, and stratum that it is relative to. | protected | JavaStratumLineBreakpoint(IResource resource, String stratum, String sourceName, String sourcePath, String classNamePattern, int lineNumber, int charStart, int charEnd, int hitCount, boolean register, Map attributes, String markerType) |
JavaStratumLineBreakpoint | public JavaStratumLineBreakpoint()(Code) | | |
JavaStratumLineBreakpoint | public JavaStratumLineBreakpoint(IResource resource, String stratum, String sourceName, String sourcePath, String classNamePattern, int lineNumber, int charStart, int charEnd, int hitCount, boolean register, Map attributes) throws DebugException(Code) | | Creates and returns a line breakpoint identified by its source file
name and/or path, and stratum that it is relative to.
Parameters: resource - the resource on which to create the associated breakpointmarker Parameters: stratum - the stratum in which the source name, source path and line numberare relative, or null . If null or if the specified stratumis not defined for a type, the source name, source path and line number arerelative to the type's default stratum. Parameters: sourceName - the simple name of the source file in which the breakpoint isset, or null . The breakpoint will install itself in classes that have a sourcefile name debug attribute that matches this value in the specified stratum,and satisfies the class name pattern and source path attribute. When null ,the source file name debug attribute is not considered. Parameters: sourcePath - the qualified source file name in which the breakpoint isset, or null . The breakpoint will install itself in classes thathave a source file path in the specified stratum that matches this value, andsatisfies the class name pattern and source name attribute. When null ,the source path attribute is not considered. Parameters: classNamePattern - the class name pattern to which the breakpoint shouldbe restricted, or null . The breakpoint will install itself in each type thatmatches this class name pattern, with a satisfying source name and source path.Patterns may begin or end with '*', which matches 0 or more characters. A pattern thatdoes not contain a '*' is equivalent to a pattern ending in '*'. Specifying null ,or an empty string is the equivalent to "*". Parameters: lineNumber - the lineNumber on which the breakpoint is set - linenumbers are 1 based, associated with the source file (stratum) in whichthe breakpoint is set Parameters: charStart - the first character index associated with the breakpoint,or -1 if unspecified, in the source file in which the breakpoint is set Parameters: charEnd - the last character index associated with the breakpoint,or -1 if unspecified, in the source file in which the breakpoint is set Parameters: hitCount - the number of times the breakpoint will be hit beforesuspending execution - 0 if it should always suspend Parameters: register - whether to add this breakpoint to the breakpoint manager Parameters: attributes - a map of client defined attributes that should be assignedto the underlying breakpoint marker on creation, or null if none. a stratum breakpoint exception: CoreException - If this method fails. Reasons include: - Failure creating underlying marker. The exception's status containsthe underlying exception responsible for the failure.
since: 3.0 |
JavaStratumLineBreakpoint | protected JavaStratumLineBreakpoint(IResource resource, String stratum, String sourceName, String sourcePath, String classNamePattern, int lineNumber, int charStart, int charEnd, int hitCount, boolean register, Map attributes, String markerType) throws DebugException(Code) | | |
addStratumPatternAndHitCount | protected void addStratumPatternAndHitCount(Map attributes, String stratum, String sourceName, String sourcePath, String pattern, int hitCount)(Code) | | Adds the class name pattern and hit count attributes to the gvien map.
|
determineLocations | protected List determineLocations(int lineNumber, ReferenceType type, JDIDebugTarget target)(Code) | | Returns a list of locations for the given line number in the given type.
Returns null if a location cannot be determined.
|
getPattern | public String getPattern() throws CoreException(Code) | | |
getSourceName | public String getSourceName() throws CoreException(Code) | | |
getSourcePath | public String getSourcePath() throws CoreException(Code) | | |
getStratum | public String getStratum() throws CoreException(Code) | | |
getTypeNamePatterns | public synchronized String[] getTypeNamePatterns() throws CoreException(Code) | | |
Methods inherited from org.eclipse.jdt.internal.debug.core.breakpoints.JavaLineBreakpoint | protected void addInstanceFilter(EventRequest request, ObjectReference object)(Code)(Java Doc) public void addLineBreakpointAttributes(Map attributes, String modelIdentifier, boolean enabled, int lineNumber, int charStart, int charEnd)(Code)(Java Doc) public void addToTarget(JDIDebugTarget target) throws CoreException(Code)(Java Doc) public void addTypeNameAndHitCount(Map attributes, String typeName, int hitCount)(Code)(Java Doc) protected void cleanupForThreadTermination(JDIThread thread)(Code)(Java Doc) protected void clearCachedExpressionFor(JDIDebugTarget target)(Code)(Java Doc) protected void clearCachedSuspendEvents(JDIDebugTarget target)(Code)(Java Doc) public boolean conditionHasErrors(ICompiledExpression expression)(Code)(Java Doc) protected BreakpointRequest createLineBreakpointRequest(Location location, JDIDebugTarget target) throws CoreException(Code)(Java Doc) protected List determineLocations(int lineNumber, ReferenceType type, JDIDebugTarget target)(Code)(Java Doc) public int getCharEnd() throws CoreException(Code)(Java Doc) public int getCharStart() throws CoreException(Code)(Java Doc) public String getCondition() throws CoreException(Code)(Java Doc) public IAstEvaluationEngine getEvaluationEngine(IJavaDebugTarget vm, IJavaProject project)(Code)(Java Doc) public int getLineNumber() throws CoreException(Code)(Java Doc) protected String getMarkerMessage(boolean conditionEnabled, String condition, int hitCount, int suspendPolicy, int lineNumber)(Code)(Java Doc) public static String getMarkerType()(Code)(Java Doc) public boolean handleBreakpointEvent(Event event, JDIDebugTarget target, JDIThread thread)(Code)(Java Doc) protected boolean handleConditionalBreakpointEvent(Event event, JDIThread thread, JDIDebugTarget target) throws CoreException(Code)(Java Doc) protected boolean hasCondition()(Code)(Java Doc) public boolean isConditionEnabled() throws CoreException(Code)(Java Doc) public boolean isConditionSuspendOnTrue() throws DebugException(Code)(Java Doc) protected EventRequest[] newRequests(JDIDebugTarget target, ReferenceType type) throws CoreException(Code)(Java Doc) public void removeFromTarget(JDIDebugTarget target) throws CoreException(Code)(Java Doc) public void setCondition(String condition) throws CoreException(Code)(Java Doc) public void setConditionEnabled(boolean conditionEnabled) throws CoreException(Code)(Java Doc) public void setConditionSuspendOnTrue(boolean suspendOnTrue) throws CoreException(Code)(Java Doc) protected void setRequestThreadFilter(EventRequest request, ThreadReference thread)(Code)(Java Doc) public boolean supportsCondition()(Code)(Java Doc) protected boolean suspendForCondition(Event event, JDIThread thread)(Code)(Java Doc) protected boolean suspendForEvent(Event event, JDIThread thread)(Code)(Java Doc)
|
Methods inherited from org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint | abstract protected void addInstanceFilter(EventRequest request, ObjectReference object)(Code)(Java Doc) public void addInstanceFilter(IJavaObject object) throws CoreException(Code)(Java Doc) public void addToTarget(JDIDebugTarget target) throws CoreException(Code)(Java Doc) protected void addToTargetForLocalType(JDIDebugTarget target, String enclosingTypeName) throws CoreException(Code)(Java Doc) protected void cleanupForThreadTermination(JDIThread thread)(Code)(Java Doc) protected void configureInstanceFilters(EventRequest request, JDIDebugTarget target)(Code)(Java Doc) protected void configureRequest(EventRequest request, JDIDebugTarget target) throws CoreException(Code)(Java Doc) protected void configureRequestHitCount(EventRequest request) throws CoreException(Code)(Java Doc) protected void configureRequestThreadFilter(EventRequest request, JDIDebugTarget target)(Code)(Java Doc) protected boolean createRequest(JDIDebugTarget target, ReferenceType type) throws CoreException(Code)(Java Doc) protected void createRequests(JDIDebugTarget target) throws CoreException(Code)(Java Doc) protected void decrementInstallCount() throws CoreException(Code)(Java Doc) protected void deregisterRequest(EventRequest request, JDIDebugTarget target) throws CoreException(Code)(Java Doc) protected void expireHitCount(Event event)(Code)(Java Doc) protected void fireAdding(IJavaDebugTarget target)(Code)(Java Doc) protected void fireChanged()(Code)(Java Doc) protected void fireInstalled(IJavaDebugTarget target)(Code)(Java Doc) protected void fireRemoved(IJavaDebugTarget target)(Code)(Java Doc) protected int getDefaultSuspendPolicy()(Code)(Java Doc) protected String getEnclosingReferenceTypeName() throws CoreException(Code)(Java Doc) public int getHitCount() throws CoreException(Code)(Java Doc) public int getInstallCount() throws CoreException(Code)(Java Doc) public IJavaObject[] getInstanceFilters()(Code)(Java Doc) protected int getJDISuspendPolicy() throws CoreException(Code)(Java Doc) protected String getMarkerMessage(int hitCount, int suspendPolicy)(Code)(Java Doc) public String getModelIdentifier()(Code)(Java Doc) protected ArrayList getRequests(JDIDebugTarget target)(Code)(Java Doc) public int getSuspendPolicy() throws CoreException(Code)(Java Doc) public IJavaThread getThreadFilter(IJavaDebugTarget target)(Code)(Java Doc) public IJavaThread[] getThreadFilters()(Code)(Java Doc) public String getTypeName() throws CoreException(Code)(Java Doc) public boolean handleBreakpointEvent(Event event, JDIDebugTarget target, JDIThread thread)(Code)(Java Doc) public boolean handleClassPrepareEvent(ClassPrepareEvent event, JDIDebugTarget target)(Code)(Java Doc) public void handleDebugEvents(DebugEvent[] events)(Code)(Java Doc) public boolean handleEvent(Event event, JDIDebugTarget target)(Code)(Java Doc) protected boolean hasHitCountChanged(EventRequest request) throws CoreException(Code)(Java Doc) protected void incrementInstallCount() throws CoreException(Code)(Java Doc) protected boolean installableReferenceType(ReferenceType type, JDIDebugTarget target) throws CoreException(Code)(Java Doc) protected void internalUpdateEnabledState(EventRequest request, boolean enabled, JDIDebugTarget target)(Code)(Java Doc) public boolean isExpired() throws CoreException(Code)(Java Doc) protected boolean isExpired(EventRequest request)(Code)(Java Doc) public boolean isInstalled() throws CoreException(Code)(Java Doc) protected boolean isInstalledIn(IJavaDebugTarget target)(Code)(Java Doc) abstract protected EventRequest[] newRequests(JDIDebugTarget target, ReferenceType type) throws CoreException(Code)(Java Doc) protected boolean queryInstallListeners(JDIDebugTarget target, ReferenceType type)(Code)(Java Doc) protected void recreate() throws CoreException(Code)(Java Doc) protected void recreate(JDIDebugTarget target) throws CoreException(Code)(Java Doc) protected void register(boolean register) throws CoreException(Code)(Java Doc) protected void registerRequest(EventRequest request, JDIDebugTarget target) throws CoreException(Code)(Java Doc) public void removeFromTarget(JDIDebugTarget target) throws CoreException(Code)(Java Doc) public void removeInstanceFilter(IJavaObject object) throws CoreException(Code)(Java Doc) protected void removeRequests(JDIDebugTarget target) throws CoreException(Code)(Java Doc) public void removeThreadFilter(IJavaDebugTarget javaTarget) throws CoreException(Code)(Java Doc) public void setEnabled(boolean enabled) throws CoreException(Code)(Java Doc) public void setExpired(boolean expired) throws CoreException(Code)(Java Doc) public void setHitCount(int count) throws CoreException(Code)(Java Doc) protected void setInstalledIn(IJavaDebugTarget target, boolean installed)(Code)(Java Doc) public void setMarker(IMarker marker) throws CoreException(Code)(Java Doc) abstract protected void setRequestThreadFilter(EventRequest request, ThreadReference thread)(Code)(Java Doc) public void setSuspendPolicy(int suspendPolicy) throws CoreException(Code)(Java Doc) public void setThreadFilter(IJavaThread thread) throws CoreException(Code)(Java Doc) protected void setTypeName(String typeName) throws CoreException(Code)(Java Doc) public boolean shouldSkipBreakpoint() throws CoreException(Code)(Java Doc) public boolean supportsInstanceFilters()(Code)(Java Doc) public boolean supportsThreadFilters()(Code)(Java Doc) protected boolean suspend(JDIThread thread)(Code)(Java Doc) protected void updateEnabledState(EventRequest request, JDIDebugTarget target) throws CoreException(Code)(Java Doc) public void wonSuspendVote(Event event, JDIDebugTarget target)(Code)(Java Doc)
|
|
|