Java Doc for MethodBreakpoint.java in  » IDE-Netbeans » ant » org » netbeans » api » debugger » jpda » 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 Netbeans » ant » org.netbeans.api.debugger.jpda 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.api.debugger.Breakpoint
      org.netbeans.api.debugger.jpda.JPDABreakpoint
         org.netbeans.api.debugger.jpda.MethodBreakpoint

MethodBreakpoint
public class MethodBreakpoint extends JPDABreakpoint (Code)
Notifies about method entry events.

How to use it:
 DebuggerManager.addBreakpoint (MethodBreakpoint.create (
 "examples.texteditor.Ted*",
 "
 ));
This breakpoint stops when some initializer of class Ted or innercalsses is called.
author:
   Jan Jancura


Field Summary
final public static  StringPROP_BREAKPOINT_TYPE
     Property name constant.
final public static  StringPROP_CLASS_EXCLUSION_FILTERS
    
final public static  StringPROP_CLASS_FILTERS
    
final public static  StringPROP_CONDITION
     Property name constant.
final public static  StringPROP_INSTANCE_FILTERS
    
final public static  StringPROP_METHOD_NAME
    
final public static  StringPROP_METHOD_SIGNATURE
    
final public static  StringPROP_THREAD_FILTERS
    
final public static  intTYPE_METHOD_ENTRY
     Breakpoint type property value constant.
final public static  intTYPE_METHOD_EXIT
     Breakpoint type property value constant.


Method Summary
public static  MethodBreakpointcreate(String className, String methodName)
     Creates a new method breakpoint for given parameters.
public static  MethodBreakpointcreate()
     Creates a new method breakpoint.
public  intgetBreakpointType()
     Returns type of this breakpoint.
public  String[]getClassExclusionFilters()
     Get list of class exclusion filters to stop on.
public  String[]getClassFilters()
     Get list of class filters to stop on.
public  StringgetCondition()
     Returns condition.
public  ObjectVariable[]getInstanceFilters(JPDADebugger session)
     Get the instance filter for a specific debugger session.
public  StringgetMethodName()
     Get name of method to stop on.
public  StringgetMethodSignature()
     Get the JNI-style signature of the method to stop on.
public  JPDAThread[]getThreadFilters(JPDADebugger session)
     Get the thread filter for a specific debugger session.
public  voidsetBreakpointType(int breakpointType)
     Sets type of this breakpoint (TYPE_METHOD_ENTRY or TYPE_METHOD_EXIT).
public  voidsetClassExclusionFilters(String[] classExclusionFilters)
     Set list of class exclusion filters to stop on.
public  voidsetClassFilters(String[] classFilters)
     Set list of class filters to stop on.
public  voidsetCondition(String cond)
     Sets condition.
public  voidsetInstanceFilters(JPDADebugger session, ObjectVariable[] instances)
     Set the instance filter for a specific debugger session.
public  voidsetMethodName(String mn)
     Set name of method to stop on.
public  voidsetMethodSignature(String signature)
     Set JNI-style signature of the method to stop on.
public  voidsetThreadFilters(JPDADebugger session, JPDAThread[] threads)
     Set the thread filter for a specific debugger session.
public  StringtoString()
     Returns a string representation of this object.

Field Detail
PROP_BREAKPOINT_TYPE
final public static String PROP_BREAKPOINT_TYPE(Code)
Property name constant.



PROP_CLASS_EXCLUSION_FILTERS
final public static String PROP_CLASS_EXCLUSION_FILTERS(Code)
Property name constant



PROP_CLASS_FILTERS
final public static String PROP_CLASS_FILTERS(Code)
Property name constant



PROP_CONDITION
final public static String PROP_CONDITION(Code)
Property name constant.



PROP_INSTANCE_FILTERS
final public static String PROP_INSTANCE_FILTERS(Code)
Property name constant



PROP_METHOD_NAME
final public static String PROP_METHOD_NAME(Code)
Property name constant



PROP_METHOD_SIGNATURE
final public static String PROP_METHOD_SIGNATURE(Code)
Property name constant



PROP_THREAD_FILTERS
final public static String PROP_THREAD_FILTERS(Code)
Property name constant



TYPE_METHOD_ENTRY
final public static int TYPE_METHOD_ENTRY(Code)
Breakpoint type property value constant.



TYPE_METHOD_EXIT
final public static int TYPE_METHOD_EXIT(Code)
Breakpoint type property value constant.





Method Detail
create
public static MethodBreakpoint create(String className, String methodName)(Code)
Creates a new method breakpoint for given parameters.
Parameters:
  className - a class name filter
Parameters:
  methodName - a name of method a new breakpoint for given parameters



create
public static MethodBreakpoint create()(Code)
Creates a new method breakpoint. a new method breakpoint



getBreakpointType
public int getBreakpointType()(Code)
Returns type of this breakpoint. type of this breakpoint



getClassExclusionFilters
public String[] getClassExclusionFilters()(Code)
Get list of class exclusion filters to stop on. list of class exclusion filters to stop on



getClassFilters
public String[] getClassFilters()(Code)
Get list of class filters to stop on. list of class filters to stop on



getCondition
public String getCondition()(Code)
Returns condition. cond a condition



getInstanceFilters
public ObjectVariable[] getInstanceFilters(JPDADebugger session)(Code)
Get the instance filter for a specific debugger session. The instances or null when there is no instance restriction.



getMethodName
public String getMethodName()(Code)
Get name of method to stop on. name of method to stop on



getMethodSignature
public String getMethodSignature()(Code)
Get the JNI-style signature of the method to stop on. JNI-style signature of the method to stop on
See Also:   com.sun.jdi.TypeComponent.signature



getThreadFilters
public JPDAThread[] getThreadFilters(JPDADebugger session)(Code)
Get the thread filter for a specific debugger session. The thread or null when there is no thread restriction.



setBreakpointType
public void setBreakpointType(int breakpointType)(Code)
Sets type of this breakpoint (TYPE_METHOD_ENTRY or TYPE_METHOD_EXIT).
Parameters:
  breakpointType - a new value of breakpoint type property



setClassExclusionFilters
public void setClassExclusionFilters(String[] classExclusionFilters)(Code)
Set list of class exclusion filters to stop on.
Parameters:
  classExclusionFilters - a new value of class exclusion filters property



setClassFilters
public void setClassFilters(String[] classFilters)(Code)
Set list of class filters to stop on.
Parameters:
  classFilters - a new value of class filters property



setCondition
public void setCondition(String cond)(Code)
Sets condition.
Parameters:
  cond - a c new condition



setInstanceFilters
public void setInstanceFilters(JPDADebugger session, ObjectVariable[] instances)(Code)
Set the instance filter for a specific debugger session. This restricts the breakpoint to specific instances in that session.
Parameters:
  session - the debugger session
Parameters:
  instances - the object instances or null to unset the filter.



setMethodName
public void setMethodName(String mn)(Code)
Set name of method to stop on.
Parameters:
  mn - a name of method to stop on



setMethodSignature
public void setMethodSignature(String signature)(Code)
Set JNI-style signature of the method to stop on.
Parameters:
  signature - the JNI-style signature of the method to stop on
See Also:   com.sun.jdi.TypeComponent.signature



setThreadFilters
public void setThreadFilters(JPDADebugger session, JPDAThread[] threads)(Code)
Set the thread filter for a specific debugger session. This restricts the breakpoint to specific threads in that session.
Parameters:
  session - the debugger session
Parameters:
  threads - the threads or null to unset the filter.



toString
public String toString()(Code)
Returns a string representation of this object. a string representation of the object



Fields inherited from org.netbeans.api.debugger.jpda.JPDABreakpoint
final public static String PROP_HIDDEN(Code)(Java Doc)
final public static String PROP_PRINT_TEXT(Code)(Java Doc)
final public static String PROP_SUSPEND(Code)(Java Doc)
final public static int SUSPEND_ALL(Code)(Java Doc)
final public static int SUSPEND_EVENT_THREAD(Code)(Java Doc)
final public static int SUSPEND_NONE(Code)(Java Doc)

Methods inherited from org.netbeans.api.debugger.jpda.JPDABreakpoint
public synchronized void addJPDABreakpointListener(JPDABreakpointListener listener)(Code)(Java Doc)
public void disable()(Code)(Java Doc)
public void enable()(Code)(Java Doc)
void fireJPDABreakpointChange(JPDABreakpointEvent event)(Code)(Java Doc)
public String getPrintText()(Code)(Java Doc)
public int getSuspend()(Code)(Java Doc)
public boolean isEnabled()(Code)(Java Doc)
public boolean isHidden()(Code)(Java Doc)
public synchronized void removeJPDABreakpointListener(JPDABreakpointListener listener)(Code)(Java Doc)
public void setHidden(boolean h)(Code)(Java Doc)
public void setPrintText(String printText)(Code)(Java Doc)
public void setSuspend(int s)(Code)(Java Doc)

Fields inherited from org.netbeans.api.debugger.Breakpoint
final public static String PROP_DISPOSED(Code)(Java Doc)
final public static String PROP_ENABLED(Code)(Java Doc)
final public static String PROP_GROUP_NAME(Code)(Java Doc)
final public static String PROP_HIT_COUNT_FILTER(Code)(Java Doc)
final public static String PROP_VALIDITY(Code)(Java Doc)

Methods inherited from org.netbeans.api.debugger.Breakpoint
public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void addPropertyChangeListener(String propertyName, PropertyChangeListener l)(Code)(Java Doc)
abstract public void disable()(Code)(Java Doc)
protected void dispose()(Code)(Java Doc)
abstract public void enable()(Code)(Java Doc)
protected void firePropertyChange(String name, Object o, Object n)(Code)(Java Doc)
public String getGroupName()(Code)(Java Doc)
final public synchronized int getHitCountFilter()(Code)(Java Doc)
final public synchronized HIT_COUNT_FILTERING_STYLE getHitCountFilteringStyle()(Code)(Java Doc)
final public synchronized VALIDITY getValidity()(Code)(Java Doc)
final public synchronized String getValidityMessage()(Code)(Java Doc)
abstract public boolean isEnabled()(Code)(Java Doc)
public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void removePropertyChangeListener(String propertyName, PropertyChangeListener l)(Code)(Java Doc)
public void setGroupName(String newGroupName)(Code)(Java Doc)
final public void setHitCountFilter(int hitCountFilter, HIT_COUNT_FILTERING_STYLE hitCountFilteringStyle)(Code)(Java Doc)
final protected void setValidity(VALIDITY validity, String reason)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.