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


org.netbeans.modules.debugger.jpda.JPDADebuggerImpl

JPDADebuggerImpl
public class JPDADebuggerImpl extends JPDADebugger (Code)
Representation of a debugging session.
author:
   Jan Jancura


Field Summary
final public  ObjectLOCK
    
 CompoundSmartSteppingListenercompoundSmartSteppingListener
    
public  PropertyChangeSupportvarChangeSupport
    

Constructor Summary
public  JPDADebuggerImpl(ContextProvider lookupProvider)
    

Method Summary
public  voidaddPropertyChangeListener(PropertyChangeListener l)
     Adds property change listener.
public  voidaddPropertyChangeListener(String propertyName, PropertyChangeListener l)
     Adds property change listener.
public  booleancanBeModified()
    
public  booleancanFixClasses()
     Returns true if this debugger supports fix & continue (HotSwap).
public synchronized  booleancanGetInstanceInfo()
    
public  booleancanPopFrames()
     Returns true if this debugger supports Pop action.
public  JPDAStepcreateJPDAStep(int size, int depth)
    
public  booleancurrentThreadToBeResumed()
     DO NOT CALL FROM ANYWHERE BUT JPDAThreadImpl.resume().
public  Variableevaluate(String expression)
     Evaluates given expression in the current context.
public  ValueevaluateIn(String expression)
     Used by AbstractVariable.
public  ValueevaluateIn(Expression expression)
     Used by WatchesModel & BreakpointImpl.
public  ValueevaluateIn(Expression expression, StackFrame frame, int frameDepth)
     Used by BreakpointImpl.
public  voidfinish()
     Used by KillActionProvider.
public  voidfireBreakpointEvent(JPDABreakpoint breakpoint, JPDABreakpointEvent event)
     Helper method that fires JPDABreakpointEvent on JPDABreakpoints.
public  voidfixBreakpoints()
    
public  voidfixClasses(Map<String, byte[]> classes)
     Implements fix & continue (HotSwap).
public  List<JPDAClassType>getAllClasses()
    
public  StackFramegetAltCSF()
    
public  JPDAClassTypegetClassType(ReferenceType cr)
    
public  List<JPDAClassType>getClassesByName(String name)
    
public synchronized  CallStackFramegetCurrentCallStackFrame()
     Returns current stack frame or null.
public  JPDAThreadgetCurrentThread()
     Returns current thread or null.
public synchronized  SourcePathgetEngineContext()
    
public  JPDAThreadgetExistingThread(ThreadReference tr)
    
public  ExpressionPoolgetExpressionPool()
    
public static  StringgetGenericSignature(TypeComponent component)
    
public static  StringgetGenericSignature(LocalVariable component)
    
public  long[]getInstanceCounts(List<JPDAClassType> classTypes)
    
public  VariablegetLocalVariable(LocalVariable lv, Value v)
    
public  OperatorgetOperator()
    
public  SessiongetSession()
    
synchronized  BooleangetSingleThreadStepResumeDecision()
    
public  SmartSteppingFiltergetSmartSteppingFilter()
     Returns instance of SmartSteppingFilter.
public  intgetState()
     Returns current state of JPDA debugger.
public synchronized  BooleangetStepInterruptByBptResumeDecision()
    
public  intgetSuspend()
     Gets value of suspend property.
public  JPDAThreadgetThread(ThreadReference tr)
    
public  JPDAThreadGroupgetThreadGroup(ThreadGroupReference tgr)
    
public  JPDAThreadGroup[]getTopLevelThreadGroups()
    
public  VariablegetVariable(Value value)
    
public  VirtualMachinegetVirtualMachine()
    
public  ValueinvokeMethod(ObjectReference reference, Method method, Value[] arguments)
     Used by AbstractVariable.
public  voidnotifySuspendAll()
    
public  voidnotifyToBeResumedAll()
    
public  voidpopFrames(ThreadReference thread, StackFrame frame)
    
public  voidremovePropertyChangeListener(PropertyChangeListener l)
     Removes property change listener.
public  voidremovePropertyChangeListener(String propertyName, PropertyChangeListener l)
     Removes property change listener.
public  voidresume()
     Used by ContinueActionProvider & StepActionProvider.
public  voidresumeCurrentThread()
    
public  voidsetAltCSF(StackFrame sf)
    
public synchronized  voidsetAttaching(AbstractDICookie cookie)
    
public  voidsetCurrentCallStackFrame(CallStackFrame callStackFrame)
    
public  voidsetCurrentThread(JPDAThread thread)
    
public  voidsetException(Exception e)
    
public  voidsetRunning(VirtualMachine vm, Operator o)
    
public  voidsetRunningState()
     Can be called if the current thread is resumed after stop.
synchronized  voidsetSingleThreadStepResumeDecision(Boolean decision)
    
public  voidsetStarting()
    
public synchronized  voidsetStepInterruptByBptResumeDecision(Boolean decision)
    
public  voidsetStoppedState(ThreadReference thread)
     Performs stop action.
public  voidsetStoppedStateNoContinue(ThreadReference thread)
    
public  voidsetSuspend(int s)
     Sets value of suspend property.
 booleanstopHere(JPDAThread t)
     Test whether we should stop here according to the smart-stepping rules.
public  voidsuspend()
     Suspends the target virtual machine (if any).
public  voidwaitRunning()
     Waits till the Virtual Machine is started and returns DebuggerStartException if any.

Field Detail
LOCK
final public Object LOCK(Code)



compoundSmartSteppingListener
CompoundSmartSteppingListener compoundSmartSteppingListener(Code)



varChangeSupport
public PropertyChangeSupport varChangeSupport(Code)




Constructor Detail
JPDADebuggerImpl
public JPDADebuggerImpl(ContextProvider lookupProvider)(Code)




Method Detail
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener l)(Code)
Adds property change listener.
Parameters:
  l - new listener.



addPropertyChangeListener
public void addPropertyChangeListener(String propertyName, PropertyChangeListener l)(Code)
Adds property change listener.
Parameters:
  l - new listener.



canBeModified
public boolean canBeModified()(Code)



canFixClasses
public boolean canFixClasses()(Code)
Returns true if this debugger supports fix & continue (HotSwap). true if this debugger supports fix & continue



canGetInstanceInfo
public synchronized boolean canGetInstanceInfo()(Code)



canPopFrames
public boolean canPopFrames()(Code)
Returns true if this debugger supports Pop action. true if this debugger supports Pop action



createJPDAStep
public JPDAStep createJPDAStep(int size, int depth)(Code)



currentThreadToBeResumed
public boolean currentThreadToBeResumed()(Code)
DO NOT CALL FROM ANYWHERE BUT JPDAThreadImpl.resume().



evaluate
public Variable evaluate(String expression) throws InvalidExpressionException(Code)
Evaluates given expression in the current context.
Parameters:
  expression - a expression to be evaluated current value of given expression



evaluateIn
public Value evaluateIn(String expression) throws InvalidExpressionException(Code)
Used by AbstractVariable.



evaluateIn
public Value evaluateIn(Expression expression) throws InvalidExpressionException(Code)
Used by WatchesModel & BreakpointImpl.



evaluateIn
public Value evaluateIn(Expression expression, StackFrame frame, int frameDepth) throws InvalidExpressionException(Code)
Used by BreakpointImpl.



finish
public void finish()(Code)
Used by KillActionProvider.



fireBreakpointEvent
public void fireBreakpointEvent(JPDABreakpoint breakpoint, JPDABreakpointEvent event)(Code)
Helper method that fires JPDABreakpointEvent on JPDABreakpoints.
Parameters:
  breakpoint - a breakpoint to be changed
Parameters:
  event - a event to be fired



fixBreakpoints
public void fixBreakpoints()(Code)



fixClasses
public void fixClasses(Map<String, byte[]> classes)(Code)
Implements fix & continue (HotSwap). Map should contain class names as a keys, and byte[] arrays as a values.
Parameters:
  classes - a map from class names to be fixed to byte[]



getAllClasses
public List<JPDAClassType> getAllClasses()(Code)



getAltCSF
public StackFrame getAltCSF()(Code)



getClassType
public JPDAClassType getClassType(ReferenceType cr)(Code)



getClassesByName
public List<JPDAClassType> getClassesByName(String name)(Code)



getCurrentCallStackFrame
public synchronized CallStackFrame getCurrentCallStackFrame()(Code)
Returns current stack frame or null. current stack frame or null



getCurrentThread
public JPDAThread getCurrentThread()(Code)
Returns current thread or null. current thread or null



getEngineContext
public synchronized SourcePath getEngineContext()(Code)



getExistingThread
public JPDAThread getExistingThread(ThreadReference tr)(Code)



getExpressionPool
public ExpressionPool getExpressionPool()(Code)



getGenericSignature
public static String getGenericSignature(TypeComponent component)(Code)



getGenericSignature
public static String getGenericSignature(LocalVariable component)(Code)



getInstanceCounts
public long[] getInstanceCounts(List<JPDAClassType> classTypes) throws UnsupportedOperationException(Code)



getLocalVariable
public Variable getLocalVariable(LocalVariable lv, Value v)(Code)



getOperator
public Operator getOperator()(Code)



getSession
public Session getSession()(Code)



getSingleThreadStepResumeDecision
synchronized Boolean getSingleThreadStepResumeDecision()(Code)



getSmartSteppingFilter
public SmartSteppingFilter getSmartSteppingFilter()(Code)
Returns instance of SmartSteppingFilter. instance of SmartSteppingFilter



getState
public int getState()(Code)
Returns current state of JPDA debugger. current state of JPDA debugger
See Also:   JPDADebuggerImpl.STATE_STARTING
See Also:   JPDADebuggerImpl.STATE_RUNNING
See Also:   JPDADebuggerImpl.STATE_STOPPED
See Also:   JPDADebuggerImpl.STATE_DISCONNECTED



getStepInterruptByBptResumeDecision
public synchronized Boolean getStepInterruptByBptResumeDecision()(Code)



getSuspend
public int getSuspend()(Code)
Gets value of suspend property. value of suspend property



getThread
public JPDAThread getThread(ThreadReference tr)(Code)



getThreadGroup
public JPDAThreadGroup getThreadGroup(ThreadGroupReference tgr)(Code)



getTopLevelThreadGroups
public JPDAThreadGroup[] getTopLevelThreadGroups()(Code)



getVariable
public Variable getVariable(Value value)(Code)



getVirtualMachine
public VirtualMachine getVirtualMachine()(Code)



invokeMethod
public Value invokeMethod(ObjectReference reference, Method method, Value[] arguments) throws InvalidExpressionException(Code)
Used by AbstractVariable.



notifySuspendAll
public void notifySuspendAll()(Code)



notifyToBeResumedAll
public void notifyToBeResumedAll()(Code)



popFrames
public void popFrames(ThreadReference thread, StackFrame frame)(Code)



removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener l)(Code)
Removes property change listener.
Parameters:
  l - removed listener.



removePropertyChangeListener
public void removePropertyChangeListener(String propertyName, PropertyChangeListener l)(Code)
Removes property change listener.
Parameters:
  l - removed listener.



resume
public void resume()(Code)
Used by ContinueActionProvider & StepActionProvider.



resumeCurrentThread
public void resumeCurrentThread()(Code)



setAltCSF
public void setAltCSF(StackFrame sf)(Code)



setAttaching
public synchronized void setAttaching(AbstractDICookie cookie)(Code)



setCurrentCallStackFrame
public void setCurrentCallStackFrame(CallStackFrame callStackFrame)(Code)



setCurrentThread
public void setCurrentThread(JPDAThread thread)(Code)



setException
public void setException(Exception e)(Code)



setRunning
public void setRunning(VirtualMachine vm, Operator o)(Code)



setRunningState
public void setRunningState()(Code)
Can be called if the current thread is resumed after stop.



setSingleThreadStepResumeDecision
synchronized void setSingleThreadStepResumeDecision(Boolean decision)(Code)



setStarting
public void setStarting()(Code)



setStepInterruptByBptResumeDecision
public synchronized void setStepInterruptByBptResumeDecision(Boolean decision)(Code)



setStoppedState
public void setStoppedState(ThreadReference thread)(Code)
Performs stop action.



setStoppedStateNoContinue
public void setStoppedStateNoContinue(ThreadReference thread)(Code)
Performs stop action and disable a next call to resume()



setSuspend
public void setSuspend(int s)(Code)
Sets value of suspend property.
Parameters:
  s - a new value of suspend property



stopHere
boolean stopHere(JPDAThread t)(Code)
Test whether we should stop here according to the smart-stepping rules.



suspend
public void suspend()(Code)
Suspends the target virtual machine (if any). Used by PauseActionProvider.
See Also:   com.sun.jdi.ThreadReference.suspend



waitRunning
public void waitRunning() throws DebuggerStartException(Code)
Waits till the Virtual Machine is started and returns DebuggerStartException if any.
throws:
  DebuggerStartException - is some problems occurres during debugger start
See Also:   AbstractDICookie.getVirtualMachine



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