Uses of Class
com.sun.jdi.IncompatibleThreadStateException
| 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.
|
-
Uses of IncompatibleThreadStateException in com.sun.jdi
Methods in com.sun.jdi that throw IncompatibleThreadStateException Modifier and Type Method Description ObjectReferenceThreadReference. currentContendedMonitor()Returns anObjectReferencefor the monitor, if any, for which this thread is currently waiting.intObjectReference. entryCount()Returns the number times this object's monitor has been entered by the current owning thread.voidThreadReference. forceEarlyReturn(Value value)Force a method to return before it reaches a return statement.StackFrameThreadReference. frame(int index)Returns theStackFrameat the given index in the thread's current call stack.intThreadReference. frameCount()Returns the number of stack frames in the thread's current call stack.List<StackFrame>ThreadReference. frames()Returns a List containing eachStackFramein the thread's current call stack.List<StackFrame>ThreadReference. frames(int start, int length)Returns a List containing a range ofStackFramemirrors from the thread's current call stack.ValueClassType. 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.ValueObjectReference. invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options)Invokes the specifiedMethodon this object in the target VM.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.List<ObjectReference>ThreadReference. ownedMonitors()Returns a List containing anObjectReferencefor each monitor owned by the thread.List<MonitorInfo>ThreadReference. ownedMonitorsAndFrames()Returns a List containing aMonitorInfoobject for each monitor owned by the thread.ThreadReferenceObjectReference. owningThread()Returns anThreadReferencefor the thread, if any, which currently owns this object's monitor.voidThreadReference. popFrames(StackFrame frame)Pop stack frames.List<ThreadReference>ObjectReference. waitingThreads()Returns a List containing aThreadReferencefor each thread currently waiting for this object's monitor.