org.ensime.core.debug

VirtualMachineManager

class VirtualMachineManager extends AnyRef

Represents a manager of virtual machines connected to Ensime.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. VirtualMachineManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VirtualMachineManager(globalStartFunc: (ScalaVirtualMachine) ⇒ Unit = ..., globalStopFunc: (ScalaVirtualMachine) ⇒ Unit = ...)

    globalStartFunc

    Invoked whenever a virtual machine is started

    globalStopFunc

    Invoked whenever a virtual machine is stopped or disconnects unexpectedly

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. def activeMode: Option[VmMode]

    Represents the mode actively being used by the internal debugger.

    Represents the mode actively being used by the internal debugger.

    returns

    Some mode instance if active, otherwise None

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hasActiveVM: Boolean

    Returns whether or not this manager has an active JVM that is being debugged.

    Returns whether or not this manager has an active JVM that is being debugged.

    returns

    True if a remote virtual machine is connected, otherwise false

  14. def hashCode(): Int

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

    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  19. def start(mode: VmMode, options: Seq[String] = Nil, startFunc: (ScalaVirtualMachine) ⇒ Unit = _ => {}): Unit

    Starts a new debugger using the specified VM mode.

    Starts a new debugger using the specified VM mode.

    mode

    The mode (launching/attaching) to use when determining which kind of debugger to start

    options

    Optional JVM options to provide to the JVM started when using a launching debugger

    startFunc

    Optional function to be invoked once the debugger has connected with the virtual machine

  20. def stop(stopFunc: (ScalaVirtualMachine) ⇒ Unit = _ => {}): Unit

    Stops and shuts down the currently-active debugger and its associated virtual machines.

    Stops and shuts down the currently-active debugger and its associated virtual machines.

    stopFunc

    Optional function to call before the virtual machine shuts down

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def withDummyVM[T](action: (ScalaVirtualMachine) ⇒ T): Try[T]

    Retrieves the dummy JVM and runs the specified action on top of it.

    Retrieves the dummy JVM and runs the specified action on top of it.

    T

    The expected return value from the action

    action

    The action to evaluate on top of the dummy JVM

    returns

    Some containing the result if successful, otherwise None

  27. def withVM[T](action: (ScalaVirtualMachine) ⇒ T): Try[T]

    Retrieves the active JVM if available and runs the specified action on top of it.

    Retrieves the active JVM if available and runs the specified action on top of it.

    T

    The expected return value from the action

    action

    The action to evaluate on top of the JVM

    returns

    Some containing the result if successful, otherwise None

Inherited from AnyRef

Inherited from Any

Ungrouped