org.scaladebugger.api.debuggers

LaunchingDebugger

Related Docs: object LaunchingDebugger | package debuggers

class LaunchingDebugger extends Debugger with Logging

Represents a debugger that starts a new process on the same machine.

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

Type Members

  1. implicit class LoggerExtras extends AnyRef

    Definition Classes
    Logging

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. def addPendingScalaVirtualMachine(scalaVirtualMachine: ScalaVirtualMachine): Option[ScalaVirtualMachine]

    Adds a new Scala virtual machine whose pending operations will be applied to any new Scala virtual machine resulting from this debugger.

    Adds a new Scala virtual machine whose pending operations will be applied to any new Scala virtual machine resulting from this debugger.

    scalaVirtualMachine

    The Scala virtual machine to add

    returns

    Some Scala virtual machine if added, otherwise None

    Definition Classes
    Debugger
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def assertJdiLoaded(): Unit

    Attempts to load the JDI, asserting that it can be and is loaded.

    Attempts to load the JDI, asserting that it can be and is loaded.

    Attributes
    protected
    Definition Classes
    Debugger
    Annotations
    @throws( classOf[AssertionError] )
    Exceptions thrown

    AssertionError If failed to load the JDI

  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. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def getPendingScalaVirtualMachines: Seq[ScalaVirtualMachine]

    Retrieves the collection of Scala virtual machines whose pending operations will be applied to any new Scala virtual machine resulting from this debugger.

    Retrieves the collection of Scala virtual machines whose pending operations will be applied to any new Scala virtual machine resulting from this debugger.

    returns

    The collection of Scala virtual machines

    Definition Classes
    Debugger
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. def isAvailable: Boolean

    Determines whether or not the debugger is available for use.

    Determines whether or not the debugger is available for use.

    returns

    True if the debugger is available, otherwise false

    Definition Classes
    Debugger
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def isRunning: Boolean

    Indicates whether or not the debugger is running.

    Indicates whether or not the debugger is running.

    returns

    True if it is running, otherwise false

    Definition Classes
    LaunchingDebuggerDebugger
  17. val jdiLoader: JDILoader

    Attributes
    protected
    Definition Classes
    Debugger
  18. val logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. def newDummyScalaVirtualMachine(): ScalaVirtualMachine

    Creates a new dummy Scala virtual machine instance that can be used to prepare pending requests to apply to the Scala virtual machines generated by the debugger once it starts.

    Creates a new dummy Scala virtual machine instance that can be used to prepare pending requests to apply to the Scala virtual machines generated by the debugger once it starts.

    returns

    The new dummy (no-op) Scala virtual machine instance

    Definition Classes
    Debugger
  21. def newScalaVirtualMachine(virtualMachine: VirtualMachine, profileManager: ProfileManager, loopingTaskRunner: LoopingTaskRunner): StandardScalaVirtualMachine

    Creates a new ScalaVirtualMachine instance.

    Creates a new ScalaVirtualMachine instance.

    virtualMachine

    The underlying virtual machine

    profileManager

    The profile manager associated with the virtual machine

    loopingTaskRunner

    The looping task runner used to process events for the virtual machine

    returns

    The new ScalaVirtualMachine instance

    Attributes
    protected
  22. final def notify(): Unit

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

    Definition Classes
    AnyRef
  24. def process: Option[Process]

    Retrieves the process of the launched JVM.

    Retrieves the process of the launched JVM.

    returns

    The Java process representing the launched JVM

  25. def removePendingScalaVirtualMachine(scalaVirtualMachineId: String): Option[ScalaVirtualMachine]

    Removes a Scala virtual machine from the list whose pending operations would be applied to any new Scala virtual machine resulting from this debugger.

    Removes a Scala virtual machine from the list whose pending operations would be applied to any new Scala virtual machine resulting from this debugger.

    scalaVirtualMachineId

    The id of the Scala virtual machine to remove

    returns

    Some Scala virtual machine if removed, otherwise None

    Definition Classes
    Debugger
  26. def start[T](startProcessingEvents: Boolean, newVirtualMachineFunc: (ScalaVirtualMachine) ⇒ T): Unit

    Starts the debugger, resulting in launching a new process to connect to.

    Starts the debugger, resulting in launching a new process to connect to.

    T

    The return type of the callback function

    startProcessingEvents

    If true, events are immediately processed by the VM as soon as it is connected

    newVirtualMachineFunc

    The function to be invoked once the process has been launched

    Definition Classes
    LaunchingDebuggerDebugger
  27. def start[T](newVirtualMachineFunc: (ScalaVirtualMachine) ⇒ T): Unit

    Starts the debugger, performing any necessary setup and ending with an initialized debugger that is or will be capable of connecting to one or more virtual machine instances.

    Starts the debugger, performing any necessary setup and ending with an initialized debugger that is or will be capable of connecting to one or more virtual machine instances.

    T

    The return type of the callback function

    newVirtualMachineFunc

    The function that will be called when a new virtual machine connection is created as a result of this debugger

    Definition Classes
    Debugger
  28. def stop(): Unit

    Stops the process launched by the debugger.

    Stops the process launched by the debugger.

    Definition Classes
    LaunchingDebuggerDebugger
  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( ... )
  34. def withPending(scalaVirtualMachine: ScalaVirtualMachine): Debugger

    Adds a new Scala virtual machine to use for pending operations.

    Adds a new Scala virtual machine to use for pending operations. Essentially a wrapper around Debugger.addPendingScalaVirtualMachine).

    scalaVirtualMachine

    The Scala virtual machine to add

    returns

    The debugger instance updated with the new pending operations

    Definition Classes
    Debugger
  35. def withoutPending(scalaVirtualMachineId: String): Debugger

    Removes a Scala virtual machine used for pending operations.

    Removes a Scala virtual machine used for pending operations. Essentially a wrapper around Debugger.removePendingScalaVirtualMachine.

    scalaVirtualMachineId

    The id of the Scala virtual machine to remove

    returns

    The updated debugger instance

    Definition Classes
    Debugger

Inherited from Logging

Inherited from Debugger

Inherited from AnyRef

Inherited from Any

Ungrouped