MethodEntryEvent (Java Debug Interface )
Keywords: com.sun.jdi.event.MethodEntryEvent interface
Date: 2020-03-26

com.sun.jdi.event

## Interface MethodEntryEvent

- All Superinterfaces:
    Event, Locatable, LocatableEvent, Mirror

      @Exported
      public interface MethodEntryEvent
      extends LocatableEvent

  Notification of a method invocation in the target VM. This event occurs after entry into the invoked method and before any code has executed. Method entry events are generated for both native and non-native methods.

  In some VMs method entry events can occur for a particular thread before its `ThreadStartEvent` occurs if methods are called as part of the thread's initialization.

  Since:
    1.3
  See Also:
    `EventQueue`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Method` | `method()` Returns the method that was entered.

    - ### Methods inherited from interface com.sun.jdi.event.LocatableEvent

      `thread`

    - ### Methods inherited from interface com.sun.jdi.event.Event

      `request`

    - ### Methods inherited from interface com.sun.jdi.Mirror

      `toString, virtualMachine`

    - ### Methods inherited from interface com.sun.jdi.Locatable

      `location`

- - ### Method Detail

    - #### method

          Method method()

      Returns the method that was entered.
      Returns:
        a `Method` which mirrors the method that was entered.

Copyright © 1999, 2020, Oracle and/or its affiliates. All rights reserved.