Class

org.ensime.core.debug

VirtualMachineManager

Related Doc: package debug

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VirtualMachineManager(globalStartFunc: (ScalaVirtualMachine) ⇒ Unit = _ => {}, globalStopFunc: (ScalaVirtualMachine) ⇒ Unit = _ => {})

    Permalink

    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: Any): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def activeMode: Option[VmMode]

    Permalink

    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

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hasActiveVM: Boolean

    Permalink

    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

  12. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

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

    Permalink

    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

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

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

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

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

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

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

    Permalink

    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

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

    Permalink

    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