Java Doc for LineBreakpoint.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.LineBreakpoint

LineBreakpoint
public class LineBreakpoint extends JPDABreakpoint (Code)
Notifies about line breakpoint events.

How to use it:
 DebuggerManager.addBreakpoint (LineBreakpoint.create (
 "examples.texteditor.Ted",
 27
 ));
This breakpoint stops in Ted class on 27 line number.
author:
   Jan Jancura


Field Summary
final public static  StringPROP_CONDITION
     Property name constant.
final public static  StringPROP_INSTANCE_FILTERS
    
final public static  StringPROP_LINE_NUMBER
    
final public static  StringPROP_PREFERRED_CLASS_NAME
     Property name constant.
final public static  StringPROP_SOURCE_NAME
     Property name constant.
final public static  StringPROP_SOURCE_PATH
     Property name constant.
final public static  StringPROP_STRATUM
     Property name constant.
final public static  StringPROP_THREAD_FILTERS
    
final public static  StringPROP_URL
    


Method Summary
public static  LineBreakpointcreate(String url, int lineNumber)
     Creates a new breakpoint for given parameters.
public  StringgetCondition()
     Returns condition.
public  ObjectVariable[]getInstanceFilters(JPDADebugger session)
     Get the instance filter for a specific debugger session.
public  intgetLineNumber()
     Gets number of line to stop on.
public  StringgetPreferredClassName()
     Gets the binary class name that is used to submit the breakpoint.
public  StringgetSourceName()
     Returns the name of the source file.
public  StringgetSourcePath()
     Returns source path, relative to the source root.
public  StringgetStratum()
     Returns stratum.
public  JPDAThread[]getThreadFilters(JPDADebugger session)
     Get the thread filter for a specific debugger session.
public  StringgetURL()
     Gets the string representation of URL of the source file, which contains the class to stop on.
public  voidsetCondition(String c)
     Sets condition.
public  voidsetInstanceFilters(JPDADebugger session, ObjectVariable[] instances)
     Set the instance filter for a specific debugger session.
public  voidsetLineNumber(int ln)
     Sets number of line to stop on.
public  voidsetPreferredClassName(String className)
     Sets the binary class name that is used to submit the breakpoint.
public  voidsetSourceName(String sn)
     Sets the name of the source file.
public  voidsetSourcePath(String sp)
     Sets source path, relative to the source root.
public  voidsetStratum(String s)
     Sets stratum.
public  voidsetThreadFilters(JPDADebugger session, JPDAThread[] threads)
     Set the thread filter for a specific debugger session.
public  voidsetURL(String url)
     Sets the string representation of URL of the source file, which contains the class to stop on.
public  StringtoString()
     Returns a string representation of this object.

Field Detail
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_LINE_NUMBER
final public static String PROP_LINE_NUMBER(Code)
Property name constant



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



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



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



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



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



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





Method Detail
create
public static LineBreakpoint create(String url, int lineNumber)(Code)
Creates a new breakpoint for given parameters.
Parameters:
  url - a string representation of URL of the source file
Parameters:
  lineNumber - a line number a new breakpoint for given parameters



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.



getLineNumber
public int getLineNumber()(Code)
Gets number of line to stop on. line number to stop on



getPreferredClassName
public String getPreferredClassName()(Code)
Gets the binary class name that is used to submit the breakpoint. The binary class name, if previously set by setPreferedClassNamemethod, or null if the class name should be retrievedautomatically from the URL and line number.
since:
   2.8



getSourceName
public String getSourceName()(Code)
Returns the name of the source file. a source name or null when no source name is defined.



getSourcePath
public String getSourcePath()(Code)
Returns source path, relative to the source root. a source path or null when no source path is defined.
since:
   1.3



getStratum
public String getStratum()(Code)
Returns stratum. a stratum



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.



getURL
public String getURL()(Code)
Gets the string representation of URL of the source file, which contains the class to stop on. name of class to stop on



setCondition
public void setCondition(String c)(Code)
Sets condition.
Parameters:
  c - a 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.



setLineNumber
public void setLineNumber(int ln)(Code)
Sets number of line to stop on.
Parameters:
  ln - a line number to stop on



setPreferredClassName
public void setPreferredClassName(String className)(Code)
Sets the binary class name that is used to submit the breakpoint.
Parameters:
  className - The binary class name, or null if the classname should be retrieved automatically from the URL and line number.
since:
   2.8



setSourceName
public void setSourceName(String sn)(Code)
Sets the name of the source file.
Parameters:
  sn - a new source name or null.



setSourcePath
public void setSourcePath(String sp)(Code)
Sets source path, relative to the source root.
Parameters:
  sp - a new source path or null
since:
   1.3



setStratum
public void setStratum(String s)(Code)
Sets stratum.
Parameters:
  s - a new stratum



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.



setURL
public void setURL(String url)(Code)
Sets the string representation of URL of the source file, which contains the class to stop on.
Parameters:
  url - the URL of class to stop on



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.