|Mailing List • Forums • IRC • mattermost|
|Open • Help Wanted • Bug Day|
|Browse Source • Project Set File|
The JSDI specifies a format in which a debugger can communicate with a running virtual machine (VM). This includes describing methods to connect the VM and debugger, what events the vm can send to describe changes in state, what requests the debugger can make to alter the state and what values can be used to describe the state.
A connector is a method of connecting a debugger and a VM. Connectors must provide an ID and may have a name and description. To customize the behaviour of the connector a map of arguments may be provided, mapping string argument keys to their values.
JSDI specifies three forms of connectors
- Listening Connector - When launched, waits for a vm to connect
- Attaching Connector - Connects to an already running VM
- Launching Connector - Launches a VM and connects to it
The VM will fire events to
The following events can be send by the VM:
VM Death VM Disconnect Breakpoint Debugger Statement Exception Script Load Step Suspend Thread Enter Thread Exit
The debugger can create and send requests to the VM through the JSDI to get more information on the state of the VM or to modify it. The following types of requests are supported:
VM Death VM Disconnect
Breakpoint Debugger Statement Exception Script Load Step Suspend Thread Enter Thread Exst
The following value types are specified by the JSDI.
- Object Reference
- Object reference
- Array reference
- Function reference