Java Doc for NoDebuggerAvailable.java in  » IDE » DrJava » edu » rice » cs » drjava » model » debug » 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 » DrJava » edu.rice.cs.drjava.model.debug 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   edu.rice.cs.drjava.model.debug.NoDebuggerAvailable

NoDebuggerAvailable
public class NoDebuggerAvailable implements Debugger(Code)
Placeholder class indicating that no debugger is available to DrJava. This class follows the Singleton pattern.
version:
   $Id: NoDebuggerAvailable.java 4255 2007-08-28 19:17:37Z mgricken $


Field Summary
final public static  NoDebuggerAvailableONLY
     Singleton instance of this class.


Method Summary
public  voidaddListener(DebugListener listener)
     Adds a listener to this Debugger.
public  voidaddWatch(String field)
     Adds a watch on the given field or variable.
public  DebugModelCallbackcallback()
    
public  voidclearCurrentStepRequest()
     Called from interactionsEnded in MainFrame in order to clear any current StepRequests that remain.
public  BreakpointgetBreakpoint(int line, String className)
     Gets the Breakpoint object at the specified line in the given class.
public  Vector<DebugStackData>getCurrentStackFrameData()
     Returns a Vector of StackData for the current thread or null if the current thread is null.
public  Vector<DebugThreadData>getCurrentThreadData()
     Returns a Vector of ThreadData or null if the vm is null.
public  Vector<DebugWatchData>getWatches()
     Returns all currently watched fields and variables.
public  booleanhasRunningThread()
     Returns whether the thread the debugger is tracking is now running.
public  booleanhasSuspendedThreads()
    
public  booleanisAvailable()
     Returns whether the debugger is currently available in this JVM.
public  booleanisCurrentThreadSuspended()
     Returns whether the debugger's current thread is suspended.
public  booleanisReady()
     Returns the status of the debugger.
public  voidremoveAllWatches()
     Removes all watches on existing fields and variables.
public  voidremoveBreakpoint(Breakpoint breakpoint)
     Removes a breakpoint.
public  voidremoveListener(DebugListener listener)
     Removes a listener to this JPDADebugger.
public  voidremoveWatch(String field)
     Removes any watches on the given field or variable.
public  voidremoveWatch(int index)
     Removes the watch at the given index.
public  voidresume()
     Resumes execution of the currently loaded document.
public  voidresume(DebugThreadData data)
     Resumes execution of the given thread.
public  voidscrollToSource(DebugStackData data)
    
public  voidscrollToSource(Breakpoint bp)
    
public  voidsetBreakpoint(Breakpoint breakpoint)
     Sets a breakpoint.
public  voidsetCurrentThread(DebugThreadData d)
     Sets the current thread which is being debugged to the thread referenced by d.
public  voidshutdown()
     Disconnects the debugger from the Interactions JVM and cleans up any state.
public  voidstartUp()
     Attaches the debugger to the Interactions JVM to prepare for debugging.
public  voidstep(StepType type)
     Steps the execution of the currently loaded document.
public  voidsuspend(DebugThreadData d)
     Suspends execution of the currently.
public  voidsuspendAll()
     Suspends all the threads.
public  voidtoggleBreakpoint(OpenDefinitionsDocument doc, int offset, int lineNum, boolean isEnabled)
     Toggles whether a breakpoint is set at the given line in the given document.

Field Detail
ONLY
final public static NoDebuggerAvailable ONLY(Code)
Singleton instance of this class.





Method Detail
addListener
public void addListener(DebugListener listener)(Code)
Adds a listener to this Debugger.



addWatch
public void addWatch(String field)(Code)
Adds a watch on the given field or variable.
Parameters:
  field - the name of the field we will watch



callback
public DebugModelCallback callback()(Code)



clearCurrentStepRequest
public void clearCurrentStepRequest()(Code)
Called from interactionsEnded in MainFrame in order to clear any current StepRequests that remain.



getBreakpoint
public Breakpoint getBreakpoint(int line, String className)(Code)
Gets the Breakpoint object at the specified line in the given class.



getCurrentStackFrameData
public Vector<DebugStackData> getCurrentStackFrameData()(Code)
Returns a Vector of StackData for the current thread or null if the current thread is null.



getCurrentThreadData
public Vector<DebugThreadData> getCurrentThreadData()(Code)
Returns a Vector of ThreadData or null if the vm is null.



getWatches
public Vector<DebugWatchData> getWatches()(Code)
Returns all currently watched fields and variables.



hasRunningThread
public boolean hasRunningThread()(Code)
Returns whether the thread the debugger is tracking is now running.



hasSuspendedThreads
public boolean hasSuspendedThreads()(Code)
true if there are any threads in the program currently beingdebugged which have been suspended (by the user or by hitting a breakpoint).



isAvailable
public boolean isAvailable()(Code)
Returns whether the debugger is currently available in this JVM. This does not indicate whether it is ready to be used.



isCurrentThreadSuspended
public boolean isCurrentThreadSuspended()(Code)
Returns whether the debugger's current thread is suspended.



isReady
public boolean isReady()(Code)
Returns the status of the debugger.



removeAllWatches
public void removeAllWatches()(Code)
Removes all watches on existing fields and variables.



removeBreakpoint
public void removeBreakpoint(Breakpoint breakpoint)(Code)
Removes a breakpoint.



removeListener
public void removeListener(DebugListener listener)(Code)
Removes a listener to this JPDADebugger.



removeWatch
public void removeWatch(String field)(Code)
Removes any watches on the given field or variable.
Parameters:
  field - the name of the field we will watch



removeWatch
public void removeWatch(int index)(Code)
Removes the watch at the given index.
Parameters:
  index - Index of the watch to remove



resume
public void resume()(Code)
Resumes execution of the currently loaded document.



resume
public void resume(DebugThreadData data)(Code)
Resumes execution of the given thread.
Parameters:
  data - the DebugThreadData representing the thread to resume



scrollToSource
public void scrollToSource(DebugStackData data)(Code)
scrolls to the source indicated by the given DebugStackData



scrollToSource
public void scrollToSource(Breakpoint bp)(Code)
scrolls to the source indicated by the given Breakpoint



setBreakpoint
public void setBreakpoint(Breakpoint breakpoint)(Code)
Sets a breakpoint.



setCurrentThread
public void setCurrentThread(DebugThreadData d)(Code)
Sets the current thread which is being debugged to the thread referenced by d.



shutdown
public void shutdown()(Code)
Disconnects the debugger from the Interactions JVM and cleans up any state.



startUp
public void startUp() throws DebugException(Code)
Attaches the debugger to the Interactions JVM to prepare for debugging.



step
public void step(StepType type) throws DebugException(Code)
Steps the execution of the currently loaded document.



suspend
public void suspend(DebugThreadData d)(Code)
Suspends execution of the currently.



suspendAll
public void suspendAll()(Code)
Suspends all the threads.



toggleBreakpoint
public void toggleBreakpoint(OpenDefinitionsDocument doc, int offset, int lineNum, boolean isEnabled) throws DebugException(Code)
Toggles whether a breakpoint is set at the given line in the given document.



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.