Uses of Interface
com.sun.jdi.ThreadReference
Packages that use ThreadReference
Package
Description
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.
This package defines JDI events and event processing.
This package is used to request that a JDI
event be sent under specified conditions.
-
Uses of ThreadReference in com.sun.jdi
Methods in com.sun.jdi that return ThreadReferenceModifier and TypeMethodDescriptionObjectReference.owningThread()Returns aThreadReferencefor the platform thread, if any, which currently owns this object's monitor.MonitorInfo.thread()Returns aThreadReferenceobject for the thread that owns the monitor.StackFrame.thread()Returns the thread under which this frame's method is running.Methods in com.sun.jdi that return types with arguments of type ThreadReferenceModifier and TypeMethodDescriptionVirtualMachine.allThreads()Returns a list of the live threads in the target VM.ThreadGroupReference.threads()Returns a List containing aThreadReferencefor each live platform thread in this thread group.ObjectReference.waitingThreads()Returns a List containing aThreadReferencefor each platform thread currently waiting for this object's monitor.Methods in com.sun.jdi with parameters of type ThreadReferenceModifier and TypeMethodDescriptionClassType.invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options) Invokes the specified staticMethodin the target VM.default ValueInterfaceType.invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options) Invokes the specified staticMethodin the target VM.ObjectReference.invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options) Invokes the specifiedMethodon this object in the target VM.ClassType.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. -
Uses of ThreadReference in com.sun.jdi.event
Methods in com.sun.jdi.event that return ThreadReferenceModifier and TypeMethodDescriptionClassPrepareEvent.thread()Returns the thread in which this event has occurred.LocatableEvent.thread()Returns the thread in which this event has occurred.MonitorContendedEnteredEvent.thread()Returns the thread in which this event has occurred.MonitorContendedEnterEvent.thread()Returns the thread in which this event has occurred.MonitorWaitedEvent.thread()Returns the thread in which this event has occurred.MonitorWaitEvent.thread()Returns the thread in which monitor wait event has occurred.ThreadDeathEvent.thread()Returns the thread which is terminating.ThreadStartEvent.thread()Returns the thread which has started.VMStartEvent.thread()Returns the initial thread of the VM which has started. -
Uses of ThreadReference in com.sun.jdi.request
Methods in com.sun.jdi.request that return ThreadReferenceMethods in com.sun.jdi.request with parameters of type ThreadReferenceModifier and TypeMethodDescriptionvoidBreakpointRequest.addThreadFilter(ThreadReference thread) Restricts the events generated by this request to those in the given thread.voidExceptionRequest.addThreadFilter(ThreadReference thread) Restricts the events generated by this request to those in the given thread.voidMethodEntryRequest.addThreadFilter(ThreadReference thread) Restricts the events generated by this request to those in the given thread.voidMethodExitRequest.addThreadFilter(ThreadReference thread) Restricts the events generated by this request to those in the given thread.voidMonitorContendedEnteredRequest.addThreadFilter(ThreadReference thread) Restricts the events generated by this request to those in the given thread.voidMonitorContendedEnterRequest.addThreadFilter(ThreadReference thread) Restricts the events generated by this request to those in the given thread.voidMonitorWaitedRequest.addThreadFilter(ThreadReference thread) Restricts the events generated by this request to those in the given thread.voidMonitorWaitRequest.addThreadFilter(ThreadReference thread) Restricts the events generated by this request to those in the given thread.voidThreadDeathRequest.addThreadFilter(ThreadReference thread) Restricts the events generated by this request to those in the given thread.voidThreadStartRequest.addThreadFilter(ThreadReference thread) Restricts the events generated by this request to those in the given thread.voidWatchpointRequest.addThreadFilter(ThreadReference thread) Restricts the events generated by this request to those in the given thread.EventRequestManager.createStepRequest(ThreadReference thread, int size, int depth) Creates a new disabledStepRequest.