org.scaladebugger.api.debuggers
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.
The Scala virtual machine to add
Some Scala virtual machine if added, otherwise None
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.
AssertionError
If failed to load the JDI
Retrieves the current listing of virtual machines that have connected to this debugger.
Retrieves the current listing of virtual machines that have connected to this debugger.
The collection of connected virtual machines
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.
The collection of Scala virtual machines
Determines whether or not the debugger is available for use.
Determines whether or not the debugger is available for use.
True if the debugger is available, otherwise false
Indicates whether or not the debugger is running.
Indicates whether or not the debugger is running.
True if it is running, otherwise false
Checks for an incoming connection, creates a new ScalaVirtualMachine for the connection, and invokes the callback with the new ScalaVirtualMachine instance.
Checks for an incoming connection, creates a new ScalaVirtualMachine for the connection, and invokes the callback with the new ScalaVirtualMachine instance.
The return type of the callback
The connector to use when listening
The arguments for the connector to use when accepting new connections
If true, events are immediately processed by the VM as soon as it is connected
The callback for the new 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.
The new dummy (no-op) Scala virtual machine instance
Creates a new ScalaVirtualMachine instance.
Creates a new ScalaVirtualMachine instance.
The underlying virtual machine
The profile manager associated with the virtual machine
The looping task runner used to process events for the virtual machine
The new ScalaVirtualMachine instance
Represents the JVM options to feed to remote JVMs whom will connect to 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.
Removes a Scala virtual machine from the list whose pending operations would be applied to any new Scala virtual machine resulting from this debugger.
The id of the Scala virtual machine to remove
Some Scala virtual machine if removed, otherwise None
Starts the debugger, resulting in opening the specified socket to listen for remote JVM connections.
Starts the debugger, resulting in opening the specified socket to listen for remote JVM connections.
The return type of the callback function
If true, events are immediately processed by the VM as soon as it is connected
The function to be invoked once per JVM that connects to this debugger
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.
The return type of the callback function
The function that will be called when a new virtual machine connection is created as a result of this debugger
Stops listening for incoming connections and shuts down the task runner.
Stops listening for incoming connections and shuts down the task runner.
Indicates whether or not the listening debugger supports multiple JVM connections or just a single JVM connecting.
Indicates whether or not the listening debugger supports multiple JVM connections or just a single JVM connecting.
True if multiple JVMs can connect to this debugger, otherwise false
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).
The Scala virtual machine to add
The debugger instance updated with the new pending operations
Removes a Scala virtual machine used for pending operations.
Removes a Scala virtual machine used for pending operations. Essentially a wrapper around Debugger.removePendingScalaVirtualMachine.
The id of the Scala virtual machine to remove
The updated debugger instance
Represents a debugger that listens for connections from remote JVMs.