org.senkbeil.debugger.breakpoints

BreakpointManager

Related Doc: package breakpoints

class BreakpointManager extends JDIHelperMethods with LogLike

Represents the manager for breakpoint requests.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BreakpointManager
  2. JDIHelperMethods
  3. LogLike
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BreakpointManager(_virtualMachine: VirtualMachine, _classManager: ClassManager)

    _virtualMachine

    The virtual machine whose breakpoint requests to manage

    _classManager

    The class manager associated with the virtual machine, used to retrieve location information

Type Members

  1. type BreakpointBundleKey = (String, Int)

  2. implicit class LoggerExtras extends AnyRef

    Definition Classes
    LogLike

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val _virtualMachine: VirtualMachine

    The virtual machine whose breakpoint requests to manage

    The virtual machine whose breakpoint requests to manage

    Attributes
    protected
    Definition Classes
    BreakpointManagerJDIHelperMethods
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def breakpointList: Seq[BreakpointBundleKey]

    Retrieves the list of breakpoints contained by this manager.

    Retrieves the list of breakpoints contained by this manager.

    returns

    The collection of breakpoints in the form of (class name, line number)

  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def findMainThread(virtualMachine: VirtualMachine): Option[ThreadReference]

    Determines the main executing thread of the specified virtual machine.

    Determines the main executing thread of the specified virtual machine.

    virtualMachine

    The virtual machine whose main thread to determine

    returns

    Some reference to the main thread if it can be determined, otherwise None

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  12. def findMainThread(): Option[ThreadReference]

    Determines the main executing thread of the _virtualMachine instance.

    Determines the main executing thread of the _virtualMachine instance.

    returns

    Some reference to the main thread if it can be determined, otherwise None

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def getLineBreakpoint(fileName: String, lineNumber: Int): Option[BreakpointBundle]

    Returns the bundle of breakpoints representing the breakpoint for the specified line.

    Returns the bundle of breakpoints representing the breakpoint for the specified line.

    fileName

    The name of the file whose line to reference

    lineNumber

    The number of the line to check for breakpoints

    returns

    Some bundle of breakpoints for the specified line, or None if the specified line has no breakpoints

  15. def hasLineBreakpoint(fileName: String, lineNumber: Int): Boolean

    Determines whether or not the breakpoint for the specific file's line.

    Determines whether or not the breakpoint for the specific file's line.

    fileName

    The name of the file whose line to reference

    lineNumber

    The number of the line to check for a breakpoint

    returns

    True if a breakpoint exists, otherwise false

  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. val logger: Logger

    Attributes
    protected
    Definition Classes
    LogLike
  19. val loggerName: String

    Definition Classes
    LogLike
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def processPendingBreakpoints(fileName: String): Boolean

    Processes pending breakpoint requests for the specified file name.

    Processes pending breakpoint requests for the specified file name.

    fileName

    The name of the file whose pending breakpoints to process

    returns

    True if all pending breakpoints for the file were successfully added, otherwise false

  24. def removeLineBreakpoint(fileName: String, lineNumber: Int): Boolean

    Removes the breakpoint on the specified line of the file.

    Removes the breakpoint on the specified line of the file.

    fileName

    The name of the file to remove the breakpoint

    lineNumber

    The number of the line to break

    returns

    True if successfully removed breakpoint, otherwise false

  25. def setLineBreakpoint(fileName: String, lineNumber: Int, enabled: Boolean = true, suspendPolicy: Int = EventRequest.SUSPEND_ALL, setPendingIfFail: Boolean = true): Boolean

    Creates and enables a breakpoint on the specified line of the class.

    Creates and enables a breakpoint on the specified line of the class.

    fileName

    The name of the file to set a breakpoint

    lineNumber

    The number of the line to break

    enabled

    If true, enables the breakpoint (default is true)

    suspendPolicy

    Indicates the policy for suspending when the breakpoint is hit (default is all threads)

    setPendingIfFail

    If true, will add the attempted breakpoint to a collection of pending breakpoints

    returns

    True if successfully added breakpoints, otherwise false

  26. def singleSourcePath(referenceType: ReferenceType): Option[String]

    Retrieves the convergent source path of the provided reference type.

    Retrieves the convergent source path of the provided reference type.

    referenceType

    The reference instance whose source path to determine

    returns

    Some source path as a string if convergent, otherwise None

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  27. def suspendThreadAndExecute[T](threadReference: ThreadReference)(thunk: ⇒ T): Try[T]

    Executes the provided block of code during the state of a suspended thread.

    Executes the provided block of code during the state of a suspended thread. The thread reference is synchronized to prevent another thread suspending the same thread reference.

    T

    The type of result from the block of code

    thunk

    The block of code to execute

    returns

    The results of attempting to execute the block of code

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  28. def suspendVirtualMachineAndExecute[T](thunk: ⇒ T): Try[T]

    Executes the provided block of code during the state of a suspended virtual machine.

    Executes the provided block of code during the state of a suspended virtual machine. The virtual machine is synchronized to prevent another thread suspending the same virtual machine.

    T

    The type of result from the block of code

    thunk

    The block of code to execute

    returns

    The results of attempting to execute the block of code

    Attributes
    protected
    Definition Classes
    JDIHelperMethods
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JDIHelperMethods

Inherited from LogLike

Inherited from AnyRef

Inherited from Any

Ungrouped