インタフェース
com.sun.jdi.LocalVariableの使用
-
LocalVariableを使用しているパッケージ パッケージ 説明 com.sun.jdi これは、Java Debug Interface (JDI)のコア・パッケージで、ブートストラップ機能以外に、値、型、およびターゲット仮想マシン自体のミラーを定義します。 -
-
com.sun.jdiでのLocalVariableの使用
LocalVariableを返すcom.sun.jdiのメソッド 修飾子と型 メソッド 説明 LocalVariable
StackFrame. visibleVariableByName(String name)
LocalVariable
のうち、指定された名前と一致し、現在のフレーム位置で可視なものを検索します。LocalVariable型の引数を持つ型を返すcom.sun.jdiのメソッド 修飾子と型 メソッド 説明 List<LocalVariable>
Method. arguments()
このメソッドの引数として宣言される各LocalVariable
を含むリストを返します。Map<LocalVariable,Value>
StackFrame. getValues(List<? extends LocalVariable> variables)
このフレーム内の複数の局所変数の値を返します。List<LocalVariable>
Method. variables()
このメソッドで宣言された各LocalVariable
を含むリストを返します。List<LocalVariable>
Method. variablesByName(String name)
このメソッドで指定された名前の各LocalVariable
を含むリストを返します。List<LocalVariable>
StackFrame. visibleVariables()
このフレームの位置からアクセスできる各LocalVariable
を含むリストを返します。LocalVariable型のパラメータを持つcom.sun.jdiのメソッド 修飾子と型 メソッド 説明 Value
StackFrame. getValue(LocalVariable variable)
このフレームのLocalVariable
のValue
を取得します。void
StackFrame. setValue(LocalVariable variable, Value value)
このフレームのLocalVariable
のValue
を設定します。LocalVariable型の型引数を持つcom.sun.jdiのメソッド・パラメータ 修飾子と型 メソッド 説明 Map<LocalVariable,Value>
StackFrame. getValues(List<? extends LocalVariable> variables)
このフレーム内の複数の局所変数の値を返します。
-