Module jdk.jdi

Interface WatchpointEvent

    • Method Detail

      • field

        Field field()
        Returns the field that is about to be accessed/modified.
        Returns:
        a Field which mirrors the field in the target VM.
        Throws:
        ObjectCollectedException - may be thrown if class has been garbage collected.
      • object

        ObjectReference object()
        Returns the object whose field is about to be accessed/modified. Return null is the access is to a static field.
        Returns:
        a ObjectReference which mirrors the event's object in the target VM.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部