クラス
com.sun.jdi.IncompatibleThreadStateExceptionの使用
パッケージ | 説明 |
---|---|
com.sun.jdi |
これは、Java Debug Interface (JDI)のコア・パッケージで、ブートストラップ機能以外に、値、型、およびターゲット仮想マシン自体のミラーを定義します。
|
-
com.sun.jdiでのIncompatibleThreadStateExceptionの使用
IncompatibleThreadStateExceptionを投げるcom.sun.jdiのメソッド 修飾子と型 メソッド 説明 ObjectReference
ThreadReference. currentContendedMonitor()
このスレッドが現在モニターを待機している場合は、そのモニターのObjectReference
を返します。int
ObjectReference. entryCount()
現在所有しているスレッドが、このオブジェクトのモニターにエントリした回数を返します。void
ThreadReference. forceEarlyReturn(Value value)
return文に到達する前に強制的にメソッドを復帰させます。StackFrame
ThreadReference. frame(int index)
スレッドの現在の呼出しスタック内の指定されたインデックスでStackFrame
を返します。int
ThreadReference. frameCount()
スレッドの現在の呼出しスタック内のスタック・フレーム数を返します。List<StackFrame>
ThreadReference. frames()
スレッドの現在の呼出しスタック内にある各StackFrame
を含むリストを返します。List<StackFrame>
ThreadReference. frames(int start, int length)
スレッドの現在の呼出しスタックからのStackFrame
ミラーの範囲を含むリストを返します。Value
ClassType. invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options)
ターゲットVM内の指定されたstaticMethod
を呼び出します。default Value
InterfaceType. invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options)
ターゲットVM内の指定されたstaticMethod
を呼び出します。Value
ObjectReference. invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options)
ターゲットVM内のこのオブジェクトで指定されたMethod
を呼び出します。ObjectReference
ClassType. newInstance(ThreadReference thread, Method method, List<? extends Value> arguments, int options)
ターゲットVM内の指定されたコンストラクタのMethod
を使って、この型の新規インスタンスを構築します。List<ObjectReference>
ThreadReference. ownedMonitors()
スレッドが所有する各モニターのObjectReference
を含むリストを返します。List<MonitorInfo>
ThreadReference. ownedMonitorsAndFrames()
スレッドが所有する各モニターのMonitorInfo
オブジェクトを含むリストを返します。ThreadReference
ObjectReference. owningThread()
このオブジェクトのモニターを現在所有するスレッドがある場合は、そのスレッドのThreadReference
を返します。void
ThreadReference. popFrames(StackFrame frame)
スタック・フレームをポップします。List<ThreadReference>
ObjectReference. waitingThreads()
このオブジェクトのモニターを現在待機している各スレッドのThreadReference
を含むリストを返します。