Creates and adds a new ScalaVirtualMachine instance.
Creates and adds a new ScalaVirtualMachine instance.
The manager of of the new virtual machine
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
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.
If failed to load the JDI
Retrieves the connected virtual machines for the debugger.
Retrieves the connected virtual machines for the debugger. Does not include any dummy virtual machines.
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
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
Retrieves the process of the launched JVM.
Retrieves the process of the launched JVM.
The Java process representing the launched JVM
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
Retrieves the Scala virtual machine manager associated with this debugger.
Retrieves the Scala virtual machine manager associated with this debugger.
The Scala virtual machine manager.
Currently, this manager is global, meaning that all debuggers have the same manager. Because of this, any operations dependent on the manager will be associated with all debuggers (such as getting a list of connected virtual machines).
Starts the debugger, resulting in launching a new process to connect to.
Starts the debugger, resulting in launching a new process to connect to.
The return type of the callback function
The default profile to use with the new VMs
If true, events are immediately processed by the VM as soon as it is connected
The function to be invoked once the process has been launched
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. Uses the default profile for new VMs.
The return type of the callback function
If true, events are immediately processed by the VM as soon as it is connected
The function that will be called when a new virtual machine connection is created as a result of 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 default profile to use with the new VMs
The function that will be called when a new virtual machine connection is created as a result of 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. Uses the default profile for new VMs.
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
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 default profile to use with the new VMs
If true, events are immediately processed by the VM as soon as it is connected
The future representing the connected Scala virtual machine
Returned future represents next connected Scala virtual machine. All other Scala virtual machines connected after the first one will be ignored.
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. Uses the default profile for new VMs.
If true, events are immediately processed by the VM as soon as it is connected
The future representing the connected Scala virtual machine
Returned future represents next connected Scala virtual machine. All other Scala virtual machines connected after the first one will be ignored.
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 default profile to use with the new VMs
The future representing the connected Scala virtual machine
Returned future represents next connected Scala virtual machine. All other Scala virtual machines connected after the first one will be ignored.
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. Uses the default profile for new VMs.
The future representing the connected Scala virtual machine
Returned future represents next connected Scala virtual machine. All other Scala virtual machines connected after the first one will be ignored.
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 maximum time to wait for the JVM to connect
The default profile to use with the new VMs
If true, events are immediately processed by the VM as soon as it is connected
The connected Scala virtual machine
Returned Scala virtual machine represents next connected Scala virtual machine. All other Scala virtual machines connected after the first one will be ignored.
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. Uses the default profile for new VMs.
The maximum time to wait for the JVM to connect
If true, events are immediately processed by the VM as soon as it is connected
The connected Scala virtual machine
Returned Scala virtual machine represents next connected Scala virtual machine. All other Scala virtual machines connected after the first one will be ignored.
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 maximum time to wait for the JVM to connect
The default profile to use with the new VMs
The connected Scala virtual machine
Returned Scala virtual machine represents next connected Scala virtual machine. All other Scala virtual machines connected after the first one will be ignored.
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. Uses the default profile for new VMs.
The maximum time to wait for the JVM to connect
The connected Scala virtual machine
Returned Scala virtual machine represents next connected Scala virtual machine. All other Scala virtual machines connected after the first one will be ignored.
Stops the process launched by the debugger.
Stops the process launched by the 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).
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 starts a new process on the same machine.