Java Debug Interface

インタフェース
com.sun.jdi.Location の使用

Location を使用しているパッケージ
com.sun.jdi Java Debug Interface (JDI) のコアパッケージで、ブートストラップ機能以外に、値、型、およびターゲット仮想マシン自体に対するミラーを定義します。 
com.sun.jdi.event このパッケージは、JDI イベントとイベント処理を定義します。 
com.sun.jdi.request このパッケージは、指定された条件下で JDI イベントが送信されることを要求する場合に使用されます。 
 

com.sun.jdi での Location の使用
 

Location を返す com.sun.jdi のメソッド
 Location Method.location()
          このメソッドに関連した実行可能コードが存在する場合、このメソッドの Location を返します。
 Location Locatable.location()
          このミラーに特定の実行可能コードが関連付けられている場合、そのコードの Location を返します。
 Location StackFrame.location()
          フレーム内の現在の命令の Location を返します。
 Location Method.locationOfCodeIndex(long codeIndex)
          指定されたコードインデックスに対応する Location を返します。
 

Location 型の引数を持つ型を返す com.sun.jdi のメソッド
 List<Location> ReferenceType.allLineLocations()
          この参照型の各実行可能ソース行の位置を示す Location オブジェクトを含むリストを返します。
 List<Location> Method.allLineLocations()
          このメソッド内の各実行可能ソース行の位置を示す Location オブジェクトを含むリストを返します。
 List<Location> ReferenceType.allLineLocations(String stratum, String sourceName)
          この参照型内の各実行可能なソース行に対する Location オブジェクトを含むリストを返します。
 List<Location> Method.allLineLocations(String stratum, String sourceName)
          このメソッド内の各実行可能ソース行の位置を示す Location オブジェクトを含むリストを返します。
 List<Location> ReferenceType.locationsOfLine(int lineNumber)
          指定された行番号にマッピングされたすべての Location オブジェクトを含む List を返します。
 List<Location> Method.locationsOfLine(int lineNumber)
          指定された行番号にマッピングされたすべての Location オブジェクトを含む List を返します。
 List<Location> ReferenceType.locationsOfLine(String stratum, String sourceName, int lineNumber)
          指定された行番号にマッピングされたすべての Location オブジェクトを含む List を返します。
 List<Location> Method.locationsOfLine(String stratum, String sourceName, int lineNumber)
          指定された行番号とソース名にマッピングされたすべての Location オブジェクトを含む List を返します。
 

com.sun.jdi.event での Location の使用
 

Location を返す com.sun.jdi.event のメソッド
 Location ExceptionEvent.catchLocation()
          例外がキャッチされる位置を取得します。
 

com.sun.jdi.request での Location の使用
 

Location を返す com.sun.jdi.request のメソッド
 Location BreakpointRequest.location()
          要求されたブレークポイントの位置を返します。
 

Location 型のパラメータを持つ com.sun.jdi.request のメソッド
 BreakpointRequest EventRequestManager.createBreakpointRequest(Location location)
          新しい無効な BreakpointRequest を作成します。
 


Java Debug Interface