Interface IJavaMethodBreakpoint

    • Method Detail

      • getMethodName

        String getMethodName()
                      throws CoreException
        Returns the name of the method(s) this breakpoint suspends execution in, or null if this breakpoint does not suspend execution based on method name.
        Returns:
        the name of the method(s) this breakpoint suspends execution in, or null if this breakpoint does not suspend execution based on method name
        Throws:
        CoreException - if unable to access the property from this breakpoint's underlying marker
      • getMethodSignature

        String getMethodSignature()
                           throws CoreException
        Returns the signature of the method(s) this breakpoint suspends execution in, or null if this breakpoint does not suspend execution based on method signature.
        Returns:
        the signature of the method(s) this breakpoint suspends execution in, or null if this breakpoint does not suspend execution based on method signature
        Throws:
        CoreException - if unable to access the property from this breakpoint's underlying marker
      • getTypeName

        String getTypeName()
                    throws CoreException
        Returns the pattern specifying the fully qualified name of type(s) this breakpoint suspends execution in. Patterns are limited to exact matches and patterns that begin or end with '*'.
        Specified by:
        getTypeName in interface IJavaBreakpoint
        Returns:
        the pattern specifying the fully qualified name of type(s) this breakpoint suspends execution in
        Throws:
        CoreException - if unable to access the property from this breakpoint's underlying marker
        See Also:
        IJavaBreakpoint.getTypeName()
      • isEntry

        boolean isEntry()
                 throws CoreException
        Returns whether this breakpoint causes execution to suspend on entry to methods.
        Returns:
        whether this breakpoint causes execution to suspend on entry to methods
        Throws:
        CoreException - if unable to access the property from this breakpoint's underlying marker
      • isExit

        boolean isExit()
                throws CoreException
        Returns whether this breakpoint causes execution to suspend on exit of methods.
        Returns:
        whether this breakpoint causes execution to suspend on exit of methods
        Throws:
        CoreException - if unable to access the property from this breakpoint's underlying marker
      • setEntry

        void setEntry​(boolean entry)
               throws CoreException
        Sets whether this breakpoint causes execution to suspend on entry to methods.
        Parameters:
        entry - whether this breakpoint causes execution to suspend on entry to methods
        Throws:
        CoreException - if unable to set the property on this breakpoint's underlying marker
      • setExit

        void setExit​(boolean exit)
              throws CoreException
        Sets whether this breakpoint causes execution to suspend on exit of methods.
        Parameters:
        exit - whether this breakpoint causes execution to suspend on exit of methods
        Throws:
        CoreException - if unable to set the property on this breakpoint's underlying marker
      • setNativeOnly

        void setNativeOnly​(boolean nativeOnly)
                    throws CoreException
        Sets whether this breakpoint causes execution to suspend only on entry/exit of native methods.
        Parameters:
        nativeOnly - whether this breakpoint causes execution to suspend only on entry/exit of native methods
        Throws:
        CoreException - if unable to set the property on this breakpoint's underlying marker
      • isNativeOnly

        boolean isNativeOnly()
                      throws CoreException
        Returns whether this breakpoint causes execution to suspend only on entry/exit of native methods.
        Returns:
        whether this breakpoint causes execution to suspend only on entry/exit of native methods
        Throws:
        CoreException - if unable to access the property on this breakpoint's underlying marker
      • isEntrySuspend

        boolean isEntrySuspend​(IDebugTarget target)
        Returns whether this breakpoint last suspended in the given target due to a method entry (true) or exit (false).
        Parameters:
        target - the debug target
        Returns:
        true if this breakpoint last suspended the given target due to a method entry; false if this breakpoint last suspended in the given target due to a method exit or if this breakpoint hasn't suspended the given target.