インタフェース
com.sun.jdi.request.EventRequestの使用
| パッケージ | 説明 |
|---|---|
| com.sun.jdi.event |
このパッケージは、JDIイベントとイベント処理を定義します。
|
| com.sun.jdi.request |
このパッケージは、指定された条件下でJDIイベントが送信されることを要求する場合に使用されます。
|
-
com.sun.jdi.eventでのEventRequestの使用
EventRequestを返すcom.sun.jdi.eventのメソッド 修飾子と型 メソッド 説明 EventRequestEvent. request() -
com.sun.jdi.requestでのEventRequestの使用
com.sun.jdi.request内のEventRequestのサブインタフェース 修飾子と型 インタフェース 説明 interfaceAccessWatchpointRequestターゲットVM内でフィールドの内容がアクセスされたときの通知要求です。interfaceBreakpointRequestターゲットVM内で実行を停止するべきLocationを識別します。interfaceClassPrepareRequestクラスがターゲットVM内で準備される際の通知要求です。interfaceClassUnloadRequestクラスがターゲットVM内でアンロードされる際の通知要求です。interfaceExceptionRequestターゲットVMで例外が発生する際の通知要求です。interfaceMethodEntryRequestターゲットVM内でメソッドが呼び出される際の通知要求です。interfaceMethodExitRequestターゲットVM内でメソッドが復帰する際の通知要求です。interfaceModificationWatchpointRequestフィールドが設定された際の通知要求です。interfaceMonitorContendedEnteredRequestターゲットVM内のスレッドが待機していたモニターに、別のスレッドによって解放されたあとに入る際の、通知要求です。interfaceMonitorContendedEnterRequestターゲットVM内のスレッドが別のスレッドによってすでに獲得されているモニターに入ろうとする際の、通知要求です。interfaceMonitorWaitedRequestターゲットVM内のスレッドがモニター・オブジェクト上での待機を終了する際の通知要求です。interfaceMonitorWaitRequestターゲットVM内のスレッドがモニター・オブジェクト上で待機を開始する際の通知要求です。interfaceStepRequestターゲットVM内でステップ実行が発生する際の通知要求です。interfaceThreadDeathRequestターゲットVM内でスレッドが終了する際の通知要求です。interfaceThreadStartRequestターゲットVM内でスレッドが実行を開始する際の通知要求です。interfaceVMDeathRequestターゲットVMが終了する際の通知要求です。interfaceWatchpointRequest監視中のターゲットVM内のFieldを識別します。EventRequest型のパラメータを持つcom.sun.jdi.requestのメソッド 修飾子と型 メソッド 説明 voidEventRequestManager. deleteEventRequest(EventRequest eventRequest)特定のeventRequestを削除します。EventRequest型の型引数を持つcom.sun.jdi.requestのメソッド・パラメータ 修飾子と型 メソッド 説明 voidEventRequestManager. deleteEventRequests(List<? extends EventRequest> eventRequests)EventRequestのリストを削除します。