Java Doc for JavaBreakpoint.java in  » IDE-Eclipse » jdt » org » eclipse » jdt » internal » debug » core » breakpoints » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » jdt » org.eclipse.jdt.internal.debug.core.breakpoints 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint

All known Subclasses:   org.eclipse.jdt.internal.debug.core.breakpoints.JavaClassPrepareBreakpoint,  org.eclipse.jdt.internal.debug.core.breakpoints.JavaLineBreakpoint,  org.eclipse.jdt.internal.debug.core.breakpoints.JavaExceptionBreakpoint,
JavaBreakpoint
abstract public class JavaBreakpoint extends Breakpoint implements IJavaBreakpoint,IJDIEventListener,IDebugEventSetListener(Code)


Field Summary
final protected static  StringEXPIRED
     Breakpoint attribute storing the expired value (value "org.eclipse.jdt.debug.core.expired"). This attribute is stored as a boolean.
final protected static  StringHIT_COUNT
     Breakpoint attribute storing a breakpoint's hit count value (value "org.eclipse.jdt.debug.core.hitCount").
final protected static  StringINSTALL_COUNT
     Breakpoint attribute storing the number of debug targets a breakpoint is installed in (value "org.eclipse.jdt.debug.core.installCount").
final public static  StringJAVA_BREAKPOINT_PROPERTY
    
final protected static  StringSUSPEND_POLICY
     Breakpoint attribute storing suspend policy code for this breakpoint.
final protected static  StringTYPE_NAME
     Breakpoint attribute storing the fully qualified name of the type this breakpoint is located in. (value "org.eclipse.jdt.debug.core.typeName").
protected  MapfFilteredThreadsByTarget
     The list of threads (ThreadReference objects) in which this breakpoint will suspend, associated with the target in which each thread exists (JDIDebugTarget).
protected  SetfInstalledTargets
     List of targets in which this breakpoint is installed.
protected  StringfInstalledTypeName
     Stores the type name that this breakpoint was last installed in.
protected  ListfInstanceFilters
     List of active instance filters for this breakpoint (list of IJavaObject).
protected  HashMapfRequestsByTarget
     Stores the collection of requests that this breakpoint has installed in debug targets.
final protected static  IJavaObject[]fgEmptyInstanceFilters
     Empty instance filters array.
final protected static  String[]fgExpiredEnabledAttributes
    

Constructor Summary
public  JavaBreakpoint()
    

Method Summary
abstract protected  voidaddInstanceFilter(EventRequest request, ObjectReference object)
     Adds an instance filter to the given request.
public  voidaddInstanceFilter(IJavaObject object)
    
public  voidaddToTarget(JDIDebugTarget target)
     Add this breakpoint to the given target.
protected  voidaddToTargetForLocalType(JDIDebugTarget target, String enclosingTypeName)
     Local types (types defined in methods) are handled specially due to the different types that the local type is associated with as well as the performance problems of using ReferenceType#nestedTypes.
protected  voidcleanupForThreadTermination(JDIThread thread)
     Removes cached information relevant to this thread which has terminated.
protected  voidconfigureInstanceFilters(EventRequest request, JDIDebugTarget target)
    
protected  voidconfigureRequest(EventRequest request, JDIDebugTarget target)
     Configure a breakpoint request with common properties:
  • JAVA_BREAKPOINT_PROPERTY
  • HIT_COUNT
  • EXPIRED
and sets the suspend policy of the request to suspend the event thread.
protected  voidconfigureRequestHitCount(EventRequest request)
    
protected  voidconfigureRequestThreadFilter(EventRequest request, JDIDebugTarget target)
     Configure the thread filter property of the given request.
protected  booleancreateRequest(JDIDebugTarget target, ReferenceType type)
     Attempts to create a breakpoint request for this breakpoint in the given reference type in the given target.
protected  voidcreateRequests(JDIDebugTarget target)
    
protected  voiddecrementInstallCount()
     Decrements the install count of this breakpoint.
protected  voidderegisterRequest(EventRequest request, JDIDebugTarget target)
     Remove the given request from the given target.
protected  voidexpireHitCount(Event event)
     Called when a breakpoint event is encountered.
protected  voidfireAdding(IJavaDebugTarget target)
     Notifies listeners this breakpoint is to be added to the given target.
protected  voidfireChanged()
     Change notification when there are no marker changes.
protected  voidfireInstalled(IJavaDebugTarget target)
     Notifies listeners this breakpoint has been installed in the given target.
protected  voidfireRemoved(IJavaDebugTarget target)
     Notifies listeners this breakpoint has been removed from the given target.
protected  intgetDefaultSuspendPolicy()
    
protected  StringgetEnclosingReferenceTypeName()
     Returns a String corresponding to the reference type name to the top enclosing type in which this breakpoint is located or null if no reference type could be found.
public  intgetHitCount()
    
public  intgetInstallCount()
     Returns the INSTALL_COUNT attribute of this breakpoint or 0 if the attribute is not set.
public  IJavaObject[]getInstanceFilters()
    
protected  intgetJDISuspendPolicy()
    
protected  StringgetMarkerMessage(int hitCount, int suspendPolicy)
    
public  StringgetModelIdentifier()
    
protected  ArrayListgetRequests(JDIDebugTarget target)
     Returns the requests that this breakpoint has installed in the given target.
public  intgetSuspendPolicy()
    
public  IJavaThreadgetThreadFilter(IJavaDebugTarget target)
    
public  IJavaThread[]getThreadFilters()
    
public  StringgetTypeName()
    
public  booleanhandleBreakpointEvent(Event event, JDIDebugTarget target, JDIThread thread)
    
public  booleanhandleClassPrepareEvent(ClassPrepareEvent event, JDIDebugTarget target)
     Handle the given class prepare event, which was generated by the class prepare event installed in the given target by this breakpoint.
public  voidhandleDebugEvents(DebugEvent[] events)
    
public  booleanhandleEvent(Event event, JDIDebugTarget target)
    
protected  booleanhasHitCountChanged(EventRequest request)
     Returns whether the hitCount of this breakpoint is equal to the hitCount of the associated request.
protected  voidincrementInstallCount()
    
protected  booleaninstallableReferenceType(ReferenceType type, JDIDebugTarget target)
     Returns whether the given reference type is appropriate for this breakpoint to be installed in the given target.
protected  voidinternalUpdateEnabledState(EventRequest request, boolean enabled, JDIDebugTarget target)
     Set the enabled state of the given request to the given value, also taking into account instance filters.
public  booleanisExpired()
     Returns whether this breakpoint has expired.
protected  booleanisExpired(EventRequest request)
    
public  booleanisInstalled()
    
protected  booleanisInstalledIn(IJavaDebugTarget target)
     Returns whether this breakpoint is installed in the given target.
abstract protected  EventRequest[]newRequests(JDIDebugTarget target, ReferenceType type)
     Creates, installs, and returns all event requests for this breakpoint in the given reference type and and target.
protected  booleanqueryInstallListeners(JDIDebugTarget target, ReferenceType type)
     Returns whether this breakpoint should be installed in the given reference type in the given target according to registered breakpoint listeners.
protected  voidrecreate()
     An attribute of this breakpoint has changed - recreate event requests in all targets.
protected  voidrecreate(JDIDebugTarget target)
     Recreate this breakpoint in the given target, as long as the target already contains this breakpoint.
protected  voidregister(boolean register)
     Add this breakpoint to the breakpoint manager, or sets it as unregistered.
protected  voidregisterRequest(EventRequest request, JDIDebugTarget target)
     Add the given event request to the given debug target.
public  voidremoveFromTarget(JDIDebugTarget target)
     Removes this breakpoint from the given target.
public  voidremoveInstanceFilter(IJavaObject object)
    
protected  voidremoveRequests(JDIDebugTarget target)
     Remove all requests that this breakpoint has installed in the given debug target.
public  voidremoveThreadFilter(IJavaDebugTarget javaTarget)
    
public  voidsetEnabled(boolean enabled)
    
public  voidsetExpired(boolean expired)
     Sets whether this breakpoint's hit count has expired.
public  voidsetHitCount(int count)
    
protected  voidsetInstalledIn(IJavaDebugTarget target, boolean installed)
    
public  voidsetMarker(IMarker marker)
    
abstract protected  voidsetRequestThreadFilter(EventRequest request, ThreadReference thread)
     EventRequest does not support thread filters, so they can't be set generically here.
public  voidsetSuspendPolicy(int suspendPolicy)
    
public  voidsetThreadFilter(IJavaThread thread)
    
protected  voidsetTypeName(String typeName)
     Sets the type name in which to install this breakpoint.
public  booleanshouldSkipBreakpoint()
     Returns whether this breakpoint should be "skipped".
public  booleansupportsInstanceFilters()
    
public  booleansupportsThreadFilters()
    
protected  booleansuspend(JDIThread thread)
     Delegates to the given thread to suspend, and returns whether the thread suspended It is possible that the thread will not suspend as directed by a Java breakpoint listener.
protected  voidupdateEnabledState(EventRequest request, JDIDebugTarget target)
     Update the enabled state of the given request in the given target, which is associated with this breakpoint.
public  voidwonSuspendVote(Event event, JDIDebugTarget target)
    

Field Detail
EXPIRED
final protected static String EXPIRED(Code)
Breakpoint attribute storing the expired value (value "org.eclipse.jdt.debug.core.expired"). This attribute is stored as a boolean. Once a hit count has been reached, a breakpoint is considered to be "expired".



HIT_COUNT
final protected static String HIT_COUNT(Code)
Breakpoint attribute storing a breakpoint's hit count value (value "org.eclipse.jdt.debug.core.hitCount"). This attribute is stored as an int.



INSTALL_COUNT
final protected static String INSTALL_COUNT(Code)
Breakpoint attribute storing the number of debug targets a breakpoint is installed in (value "org.eclipse.jdt.debug.core.installCount"). This attribute is a int.



JAVA_BREAKPOINT_PROPERTY
final public static String JAVA_BREAKPOINT_PROPERTY(Code)
Property identifier for a breakpoint object on an event request



SUSPEND_POLICY
final protected static String SUSPEND_POLICY(Code)
Breakpoint attribute storing suspend policy code for this breakpoint. (value "org.eclipse.jdt.debug.core.suspendPolicy). This attribute is an int corresponding to IJavaBreakpoint.SUSPEND_VM or IJavaBreakpoint.SUSPEND_THREAD.



TYPE_NAME
final protected static String TYPE_NAME(Code)
Breakpoint attribute storing the fully qualified name of the type this breakpoint is located in. (value "org.eclipse.jdt.debug.core.typeName"). This attribute is a String.



fFilteredThreadsByTarget
protected Map fFilteredThreadsByTarget(Code)
The list of threads (ThreadReference objects) in which this breakpoint will suspend, associated with the target in which each thread exists (JDIDebugTarget). key: targets the debug targets (IJavaDebugTarget) value: thread the filtered thread (IJavaThread) in the given target



fInstalledTargets
protected Set fInstalledTargets(Code)
List of targets in which this breakpoint is installed. Used to prevent firing of more than one install notification when a breakpoint's requests are re-created.



fInstalledTypeName
protected String fInstalledTypeName(Code)
Stores the type name that this breakpoint was last installed in. When a breakpoint is created, the TYPE_NAME attribute assigned to it is that of its top level enclosing type. When installed, the type may actually be an inner type. We need to keep track of the type type the breakpoint was installed in, in case we need to re-install the breakpoint for HCR (i.e. in case an inner type is HCR'd).



fInstanceFilters
protected List fInstanceFilters(Code)
List of active instance filters for this breakpoint (list of IJavaObject).



fRequestsByTarget
protected HashMap fRequestsByTarget(Code)
Stores the collection of requests that this breakpoint has installed in debug targets. key: a debug target value: the requests this breakpoint has installed in that target



fgEmptyInstanceFilters
final protected static IJavaObject[] fgEmptyInstanceFilters(Code)
Empty instance filters array.



fgExpiredEnabledAttributes
final protected static String[] fgExpiredEnabledAttributes(Code)
JavaBreakpoint attributes




Constructor Detail
JavaBreakpoint
public JavaBreakpoint()(Code)




Method Detail
addInstanceFilter
abstract protected void addInstanceFilter(EventRequest request, ObjectReference object)(Code)
Adds an instance filter to the given request. Since the implementation is request specific, subclasses must override.
Parameters:
  request -
Parameters:
  object - instance filter



addInstanceFilter
public void addInstanceFilter(IJavaObject object) throws CoreException(Code)



addToTarget
public void addToTarget(JDIDebugTarget target) throws CoreException(Code)
Add this breakpoint to the given target. After it has been added to the given target, this breakpoint will suspend execution of that target as appropriate.



addToTargetForLocalType
protected void addToTargetForLocalType(JDIDebugTarget target, String enclosingTypeName) throws CoreException(Code)
Local types (types defined in methods) are handled specially due to the different types that the local type is associated with as well as the performance problems of using ReferenceType#nestedTypes. From the Java model perspective a local type is defined within a method of a type. Therefore the type of a breakpoint placed in a local type is the type that encloses the method where the local type was defined. The local type is enclosed within the top level type according to the VM. So if "normal" attempts to create a request when a breakpoint is being added to a target fail, we must be dealing with a local type and therefore resort to looking up all of the nested types of the top level enclosing type.



cleanupForThreadTermination
protected void cleanupForThreadTermination(JDIThread thread)(Code)
Removes cached information relevant to this thread which has terminated. Remove thread filters for terminated threads Subclasses may override but need to call super.



configureInstanceFilters
protected void configureInstanceFilters(EventRequest request, JDIDebugTarget target)(Code)



configureRequest
protected void configureRequest(EventRequest request, JDIDebugTarget target) throws CoreException(Code)
Configure a breakpoint request with common properties:
  • JAVA_BREAKPOINT_PROPERTY
  • HIT_COUNT
  • EXPIRED
and sets the suspend policy of the request to suspend the event thread.



configureRequestHitCount
protected void configureRequestHitCount(EventRequest request) throws CoreException(Code)
Configure the given request's hit count



configureRequestThreadFilter
protected void configureRequestThreadFilter(EventRequest request, JDIDebugTarget target)(Code)
Configure the thread filter property of the given request.



createRequest
protected boolean createRequest(JDIDebugTarget target, ReferenceType type) throws CoreException(Code)
Attempts to create a breakpoint request for this breakpoint in the given reference type in the given target. Whether a request was created



createRequests
protected void createRequests(JDIDebugTarget target) throws CoreException(Code)
Creates event requests for the given target



decrementInstallCount
protected void decrementInstallCount() throws CoreException(Code)
Decrements the install count of this breakpoint.



deregisterRequest
protected void deregisterRequest(EventRequest request, JDIDebugTarget target) throws CoreException(Code)
Remove the given request from the given target. If the request is the breakpoint request associated with this breakpoint, decrement the install count.



expireHitCount
protected void expireHitCount(Event event)(Code)
Called when a breakpoint event is encountered. Expires the hit count in the event's request and updates the marker.
Parameters:
  event - the event whose request should have its hit countexpired or null to only update the breakpoint marker.



fireAdding
protected void fireAdding(IJavaDebugTarget target)(Code)
Notifies listeners this breakpoint is to be added to the given target.
Parameters:
  target - debug target



fireChanged
protected void fireChanged()(Code)
Change notification when there are no marker changes. If the marker does not exist, do not fire a change notification (the marker may not exist if the associated project was closed).



fireInstalled
protected void fireInstalled(IJavaDebugTarget target)(Code)
Notifies listeners this breakpoint has been installed in the given target.
Parameters:
  target - debug target



fireRemoved
protected void fireRemoved(IJavaDebugTarget target)(Code)
Notifies listeners this breakpoint has been removed from the given target.
Parameters:
  target - debug target



getDefaultSuspendPolicy
protected int getDefaultSuspendPolicy()(Code)
returns the default suspend policy based on the pref setting on the Java-Debug pref page the default suspend policy
since:
   3.2



getEnclosingReferenceTypeName
protected String getEnclosingReferenceTypeName() throws CoreException(Code)
Returns a String corresponding to the reference type name to the top enclosing type in which this breakpoint is located or null if no reference type could be found.



getHitCount
public int getHitCount() throws CoreException(Code)



getInstallCount
public int getInstallCount() throws CoreException(Code)
Returns the INSTALL_COUNT attribute of this breakpoint or 0 if the attribute is not set.



getInstanceFilters
public IJavaObject[] getInstanceFilters()(Code)



getJDISuspendPolicy
protected int getJDISuspendPolicy() throws CoreException(Code)
Returns the JDI suspend policy that corresponds to this breakpoint's suspend policy the JDI suspend policy that corresponds to thisbreakpoint's suspend policy
exception:
  CoreException - if unable to access this breakpoint'ssuspend policy setting



getMarkerMessage
protected String getMarkerMessage(int hitCount, int suspendPolicy)(Code)



getModelIdentifier
public String getModelIdentifier()(Code)



getRequests
protected ArrayList getRequests(JDIDebugTarget target)(Code)
Returns the requests that this breakpoint has installed in the given target.



getSuspendPolicy
public int getSuspendPolicy() throws CoreException(Code)



getThreadFilter
public IJavaThread getThreadFilter(IJavaDebugTarget target)(Code)



getThreadFilters
public IJavaThread[] getThreadFilters()(Code)



getTypeName
public String getTypeName() throws CoreException(Code)



handleBreakpointEvent
public boolean handleBreakpointEvent(Event event, JDIDebugTarget target, JDIThread thread)(Code)

See Also:   IJDIEventListener.handleEvent(EventJDIDebugTarget)
See Also:   Handle the given event, which was generated by the breakpoint request
See Also:   installed in the given target by this breakpoint.



handleClassPrepareEvent
public boolean handleClassPrepareEvent(ClassPrepareEvent event, JDIDebugTarget target)(Code)
Handle the given class prepare event, which was generated by the class prepare event installed in the given target by this breakpoint. If the class which has been loaded is a class in which this breakpoint should install, create a breakpoint request for that class.



handleDebugEvents
public void handleDebugEvents(DebugEvent[] events)(Code)



handleEvent
public boolean handleEvent(Event event, JDIDebugTarget target)(Code)



hasHitCountChanged
protected boolean hasHitCountChanged(EventRequest request) throws CoreException(Code)
Returns whether the hitCount of this breakpoint is equal to the hitCount of the associated request.



incrementInstallCount
protected void incrementInstallCount() throws CoreException(Code)
Increments the install count of this breakpoint



installableReferenceType
protected boolean installableReferenceType(ReferenceType type, JDIDebugTarget target) throws CoreException(Code)
Returns whether the given reference type is appropriate for this breakpoint to be installed in the given target. Query registered breakpoint listeners.



internalUpdateEnabledState
protected void internalUpdateEnabledState(EventRequest request, boolean enabled, JDIDebugTarget target)(Code)
Set the enabled state of the given request to the given value, also taking into account instance filters.



isExpired
public boolean isExpired() throws CoreException(Code)
Returns whether this breakpoint has expired.



isExpired
protected boolean isExpired(EventRequest request)(Code)
Returns whether the given request is expired



isInstalled
public boolean isInstalled() throws CoreException(Code)



isInstalledIn
protected boolean isInstalledIn(IJavaDebugTarget target)(Code)
Returns whether this breakpoint is installed in the given target.
Parameters:
  target - whether this breakpoint is installed in the given target



newRequests
abstract protected EventRequest[] newRequests(JDIDebugTarget target, ReferenceType type) throws CoreException(Code)
Creates, installs, and returns all event requests for this breakpoint in the given reference type and and target. the event requests created or null if creation failed



queryInstallListeners
protected boolean queryInstallListeners(JDIDebugTarget target, ReferenceType type)(Code)
Returns whether this breakpoint should be installed in the given reference type in the given target according to registered breakpoint listeners.
Parameters:
  target - debug target
Parameters:
  type - reference type or null if this breakpoint isnot installed in a specific type



recreate
protected void recreate() throws CoreException(Code)
An attribute of this breakpoint has changed - recreate event requests in all targets.



recreate
protected void recreate(JDIDebugTarget target) throws CoreException(Code)
Recreate this breakpoint in the given target, as long as the target already contains this breakpoint.
Parameters:
  target - the target in which to re-create the breakpoint



register
protected void register(boolean register) throws CoreException(Code)
Add this breakpoint to the breakpoint manager, or sets it as unregistered.



registerRequest
protected void registerRequest(EventRequest request, JDIDebugTarget target) throws CoreException(Code)
Add the given event request to the given debug target. If the request is the breakpoint request associated with this breakpoint, increment the install count.



removeFromTarget
public void removeFromTarget(JDIDebugTarget target) throws CoreException(Code)
Removes this breakpoint from the given target.



removeInstanceFilter
public void removeInstanceFilter(IJavaObject object) throws CoreException(Code)



removeRequests
protected void removeRequests(JDIDebugTarget target) throws CoreException(Code)
Remove all requests that this breakpoint has installed in the given debug target.



removeThreadFilter
public void removeThreadFilter(IJavaDebugTarget javaTarget) throws CoreException(Code)



setEnabled
public void setEnabled(boolean enabled) throws CoreException(Code)



setExpired
public void setExpired(boolean expired) throws CoreException(Code)
Sets whether this breakpoint's hit count has expired.



setHitCount
public void setHitCount(int count) throws CoreException(Code)



setInstalledIn
protected void setInstalledIn(IJavaDebugTarget target, boolean installed)(Code)
Sets this breakpoint as installed in the given target
Parameters:
  target -
Parameters:
  installed - whether installed



setMarker
public void setMarker(IMarker marker) throws CoreException(Code)



setRequestThreadFilter
abstract protected void setRequestThreadFilter(EventRequest request, ThreadReference thread)(Code)
EventRequest does not support thread filters, so they can't be set generically here. However, each of the breakpoint subclasses of EventRequest do support thread filters. So subclasses can set thread filters on their specific request type.



setSuspendPolicy
public void setSuspendPolicy(int suspendPolicy) throws CoreException(Code)



setThreadFilter
public void setThreadFilter(IJavaThread thread) throws CoreException(Code)



setTypeName
protected void setTypeName(String typeName) throws CoreException(Code)
Sets the type name in which to install this breakpoint.



shouldSkipBreakpoint
public boolean shouldSkipBreakpoint() throws CoreException(Code)
Returns whether this breakpoint should be "skipped". Breakpoints are skipped if the breakpoint manager is disabled and the breakpoint is registered with the manager whether this breakpoint should be skipped



supportsInstanceFilters
public boolean supportsInstanceFilters()(Code)



supportsThreadFilters
public boolean supportsThreadFilters()(Code)



suspend
protected boolean suspend(JDIThread thread)(Code)
Delegates to the given thread to suspend, and returns whether the thread suspended It is possible that the thread will not suspend as directed by a Java breakpoint listener.
See Also:   IJavaBreakpointListener.breakpointHit(IJavaThreadIJavaBreakpoint)



updateEnabledState
protected void updateEnabledState(EventRequest request, JDIDebugTarget target) throws CoreException(Code)
Update the enabled state of the given request in the given target, which is associated with this breakpoint. Set the enabled state of the request to the enabled state of this breakpoint.



wonSuspendVote
public void wonSuspendVote(Event event, JDIDebugTarget target)(Code)



w_ww___.j_a___v_a__2s._c__om_ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.