Interface IJavaMethodEntryBreakpoint

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IBreakpoint, IJavaBreakpoint, IJavaLineBreakpoint, org.eclipse.debug.core.model.ILineBreakpoint, org.eclipse.debug.core.model.ITriggerPoint

public interface IJavaMethodEntryBreakpoint extends IJavaLineBreakpoint
A method entry breakpoint suspends execution on the first executable line of a method when entered. Entry breakpoints can only be installed in methods that have executable code (i.e. do not work in native methods).

This breakpoint provides a subset of the function provided by IJavaMethodBreakpoint - i.e. break on enter. The implementation of this breakpoint is more efficient than the general method breakpoint, as the implementation is based on line breakpoints and does not require method enter/exit tracing in the target VM.

Since:
2.0
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.
  • Method Details

    • getMethodName

      String getMethodName() throws org.eclipse.core.runtime.CoreException
      Returns the name of the method this breakpoint suspends execution in.
      Returns:
      the name of the method this breakpoint suspends execution in
      Throws:
      org.eclipse.core.runtime.CoreException - if unable to access the property from this breakpoint's underlying marker
    • getMethodSignature

      String getMethodSignature() throws org.eclipse.core.runtime.CoreException
      Returns the signature of the method this breakpoint suspends execution in.
      Returns:
      the signature of the method this breakpoint suspends execution in
      Throws:
      org.eclipse.core.runtime.CoreException - if unable to access the property from this breakpoint's underlying marker