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


org.netbeans.api.debugger.jpda.JPDAThread

JPDAThread
public interface JPDAThread (Code)
Represents one Java thread in debugged process.
 Since JDI interfaces evolve from one version to another, it's strongly recommended
 not to implement this interface in client code. New methods can be added to
 this interface at any time to keep up with the JDI functionality.

author:
   Jan Jancura


Field Summary
final public static  StringPROP_CALLSTACK
     Property name constant.
final public static  StringPROP_VARIABLES
     Property name constant.
final public static  intSTATE_MONITOR
     Thread state constant.
final public static  intSTATE_NOT_STARTED
     Thread state constant.
final public static  intSTATE_RUNNING
     Thread state constant.
final public static  intSTATE_SLEEPING
     Thread state constant.
final public static  intSTATE_UNKNOWN
     Thread state constant.
final public static  intSTATE_WAIT
     Thread state constant.
final public static  intSTATE_ZOMBIE
     Thread state constant.


Method Summary
abstract public  CallStackFrame[]getCallStack()
     Returns call stack for this thread.
throws:
  AbsentInformationException - if the thread is running or not ableto return callstack.
abstract public  CallStackFrame[]getCallStack(int from, int to)
     Returns call stack for this thread on the given indexes.
Parameters:
  from - a from index, inclusive
Parameters:
  to - a to index, exclusive
throws:
  AbsentInformationException - if the thread is running or not ableto return callstack.
abstract public  StringgetClassName()
     If this thread is suspended returns class name this thread is stopped in.
abstract public  ObjectVariablegetContendedMonitor()
     Returns monitor this thread is waiting on.
abstract public  OperationgetCurrentOperation()
     Returns the operation that is being currently executed on this thread.
abstract public  List<Operation>getLastOperations()
     Returns the list of the last operations, that were performed on this thread.
abstract public  intgetLineNumber(String stratum)
     Returns line number of the location this thread stopped at.
abstract public  StringgetMethodName()
     If this thread is suspended returns method name this thread is stopped in.
abstract public  StringgetName()
     Getter for the name of thread property.
abstract public  ObjectVariable[]getOwnedMonitors()
     Returns monitors owned by this thread.
abstract public  JPDAThreadGroupgetParentThreadGroup()
     Returns parent thread group.
abstract public  StringgetSourceName(String stratum)
     Returns file name this frame is stopped in or null.
abstract public  StringgetSourcePath(String stratum)
     Returns source path of file this frame is stopped in or null.
abstract public  intgetStackDepth()
     Returns length of current call stack.
abstract public  intgetState()
     Returns current state of this thread.
abstract public  voidinterrupt()
     Interrupts this thread unless the thread has been suspended.
abstract public  booleanisSuspended()
     Returns true if this thread is suspended by debugger.
abstract public  voidmakeCurrent()
     Sets this thread current.
abstract public  voidresume()
     Unsuspends thread.
abstract public  voidsuspend()
     Suspends thread.

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



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



STATE_MONITOR
final public static int STATE_MONITOR(Code)
Thread state constant.



STATE_NOT_STARTED
final public static int STATE_NOT_STARTED(Code)
Thread state constant.



STATE_RUNNING
final public static int STATE_RUNNING(Code)
Thread state constant.



STATE_SLEEPING
final public static int STATE_SLEEPING(Code)
Thread state constant.



STATE_UNKNOWN
final public static int STATE_UNKNOWN(Code)
Thread state constant.



STATE_WAIT
final public static int STATE_WAIT(Code)
Thread state constant.



STATE_ZOMBIE
final public static int STATE_ZOMBIE(Code)
Thread state constant.





Method Detail
getCallStack
abstract public CallStackFrame[] getCallStack() throws AbsentInformationException(Code)
Returns call stack for this thread.
throws:
  AbsentInformationException - if the thread is running or not ableto return callstack. If the thread is in an incompatible state(e.g. running), the AbsentInformationException hasIncompatibleThreadStateException as a cause. call stack



getCallStack
abstract public CallStackFrame[] getCallStack(int from, int to) throws AbsentInformationException(Code)
Returns call stack for this thread on the given indexes.
Parameters:
  from - a from index, inclusive
Parameters:
  to - a to index, exclusive
throws:
  AbsentInformationException - if the thread is running or not ableto return callstack. If the thread is in an incompatible state(e.g. running), the AbsentInformationException hasIncompatibleThreadStateException as a cause. call stack



getClassName
abstract public String getClassName()(Code)
If this thread is suspended returns class name this thread is stopped in. class name this thread is stopped in



getContendedMonitor
abstract public ObjectVariable getContendedMonitor()(Code)
Returns monitor this thread is waiting on. monitor this thread is waiting on



getCurrentOperation
abstract public Operation getCurrentOperation()(Code)
Returns the operation that is being currently executed on this thread. The current operation, or null.
See Also:    CallStackFrame.getCurrentOperation



getLastOperations
abstract public List<Operation> getLastOperations()(Code)
Returns the list of the last operations, that were performed on this thread. Typically just operations from the current expression are stored. The thread should be suspended at the moment this method is called. The list of last operations if available, the thread is suspended,contains at least one frame and the topmost frame does notrepresent a native method invocation; null otherwise
See Also:   CallStackFrame



getLineNumber
abstract public int getLineNumber(String stratum)(Code)
Returns line number of the location this thread stopped at. The thread should be suspended at the moment this method is called. line number of the current location if the thread is suspended,contains at least one frame and the topmost frame does notrepresent a native method invocation; -1 otherwise
See Also:   CallStackFrame



getMethodName
abstract public String getMethodName()(Code)
If this thread is suspended returns method name this thread is stopped in. method name this thread is stopped in



getName
abstract public String getName()(Code)
Getter for the name of thread property. name of thread



getOwnedMonitors
abstract public ObjectVariable[] getOwnedMonitors()(Code)
Returns monitors owned by this thread. monitors owned by this thread



getParentThreadGroup
abstract public JPDAThreadGroup getParentThreadGroup()(Code)
Returns parent thread group. parent thread group



getSourceName
abstract public String getSourceName(String stratum) throws AbsentInformationException(Code)
Returns file name this frame is stopped in or null. file name this frame is stopped in



getSourcePath
abstract public String getSourcePath(String stratum) throws AbsentInformationException(Code)
Returns source path of file this frame is stopped in or null. source path of file this frame is stopped in or null



getStackDepth
abstract public int getStackDepth()(Code)
Returns length of current call stack. length of current call stack



getState
abstract public int getState()(Code)
Returns current state of this thread. current state of this thread



interrupt
abstract public void interrupt()(Code)
Interrupts this thread unless the thread has been suspended.
since:
   2.1



isSuspended
abstract public boolean isSuspended()(Code)
Returns true if this thread is suspended by debugger. true if this thread is suspended by debugger



makeCurrent
abstract public void makeCurrent()(Code)
Sets this thread current.
See Also:   JPDADebugger.getCurrentThread



resume
abstract public void resume()(Code)
Unsuspends thread.



suspend
abstract public void suspend()(Code)
Suspends thread.



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