public abstract class AbstractDICookie extends Object
DebuggerInfo
Cookies. DebuggerInfo Cookie is responsible for creating of new JPDA
VirtualMachine.
DebuggerInfo di = DebuggerInfo.create ( "My First Debugger Info", new Object [] { abstractDICookieInstance } ); DebuggerManager.getDebuggerManager ().startDebugging (di);
AttachingDICookie
,
LaunchingDICookie
,
ListeningDICookie
Constructor and Description |
---|
AbstractDICookie() |
Modifier and Type | Method and Description |
---|---|
abstract com.sun.jdi.VirtualMachine |
getVirtualMachine()
Creates a new instance of VirtualMachine for this DebuggerInfo Cookie.
|
public abstract com.sun.jdi.VirtualMachine getVirtualMachine() throws IOException, com.sun.jdi.connect.IllegalConnectorArgumentsException, com.sun.jdi.connect.VMStartException
ConnectException
- When a connection is refusedIOException
com.sun.jdi.connect.IllegalConnectorArgumentsException
com.sun.jdi.connect.VMStartException