Uses of Interface
com.sun.jdi.ObjectReference
| Package | Description |
|---|---|
| com.sun.jdi |
This is the core package of the Java Debug
Interface (JDI), it defines mirrors for values, types, and the target
VirtualMachine itself - as well bootstrapping facilities.
|
| com.sun.jdi.event |
This package defines JDI events and event processing.
|
| com.sun.jdi.request |
This package is used to request that a JDI
event be sent under specified conditions.
|
-
Uses of ObjectReference in com.sun.jdi
Subinterfaces of ObjectReference in com.sun.jdi Modifier and Type Interface Description interfaceArrayReferenceProvides access to an array object and its components in the target VM.interfaceClassLoaderReferenceA class loader object from the target VM.interfaceClassObjectReferenceAn instance of java.lang.Class from the target VM.interfaceModuleReferenceA module in the target VM.interfaceStringReferenceA string object from the target VM.interfaceThreadGroupReferenceA thread group object from the target VM.interfaceThreadReferenceA thread object from the target VM.Methods in com.sun.jdi that return ObjectReference Modifier and Type Method Description ObjectReferenceThreadReference. currentContendedMonitor()Returns anObjectReferencefor the monitor, if any, for which this thread is currently waiting.ObjectReferenceInvocationException. exception()ObjectReferenceMonitorInfo. monitor()Returns theObjectReferenceobject for the monitor.ObjectReferenceClassType. newInstance(ThreadReference thread, Method method, List<? extends Value> arguments, int options)Constructs a new instance of this type, using the given constructorMethodin the target VM.ObjectReferenceStackFrame. thisObject()Returns the value of 'this' for the current frame.Methods in com.sun.jdi that return types with arguments of type ObjectReference Modifier and Type Method Description List<ObjectReference>ReferenceType. instances(long maxInstances)Returns instances of this ReferenceType.List<ObjectReference>ThreadReference. ownedMonitors()Returns a List containing anObjectReferencefor each monitor owned by the thread.List<ObjectReference>ObjectReference. referringObjects(long maxReferrers)Returns objects that directly reference this object.Methods in com.sun.jdi with parameters of type ObjectReference Modifier and Type Method Description voidThreadReference. stop(ObjectReference throwable)Stops this thread with an asynchronous exception.Constructors in com.sun.jdi with parameters of type ObjectReference Constructor Description InvocationException(ObjectReference exception) -
Uses of ObjectReference in com.sun.jdi.event
Methods in com.sun.jdi.event that return ObjectReference Modifier and Type Method Description ObjectReferenceExceptionEvent. exception()Gets the thrown exception object.ObjectReferenceMonitorContendedEnteredEvent. monitor()Returns the monitor that was entered.ObjectReferenceMonitorContendedEnterEvent. monitor()Returns the method that was entered.ObjectReferenceMonitorWaitedEvent. monitor()Returns the monitor object this thread waited on.ObjectReferenceMonitorWaitEvent. monitor()Returns the monitor object that the thread about to wait.ObjectReferenceWatchpointEvent. object()Returns the object whose field is about to be accessed/modified. -
Uses of ObjectReference in com.sun.jdi.request
Methods in com.sun.jdi.request with parameters of type ObjectReference Modifier and Type Method Description voidBreakpointRequest. addInstanceFilter(ObjectReference instance)Restricts the events generated by this request to those in which the currently executing instance is the object specified.voidExceptionRequest. addInstanceFilter(ObjectReference instance)Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidMethodEntryRequest. addInstanceFilter(ObjectReference instance)Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidMethodExitRequest. addInstanceFilter(ObjectReference instance)Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidMonitorContendedEnteredRequest. addInstanceFilter(ObjectReference instance)Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidMonitorContendedEnterRequest. addInstanceFilter(ObjectReference instance)Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidMonitorWaitedRequest. addInstanceFilter(ObjectReference instance)Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidMonitorWaitRequest. addInstanceFilter(ObjectReference instance)Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidStepRequest. addInstanceFilter(ObjectReference instance)Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.voidWatchpointRequest. addInstanceFilter(ObjectReference instance)Restricts the events generated by this request to those in which the currently executing instance ("this") is the object specified.