|
org.netbeans.api.debugger.jpda/2 2.4.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.api.debugger.jpda.AbstractDICookie org.netbeans.api.debugger.jpda.AttachingDICookie
public final class AttachingDICookie
Attaches to some already running JDK and returns VirtualMachine for it.
How to use it:
DebuggerInfo di = DebuggerInfo.create ( "My Attaching First Debugger Info", new Object [] { AttachingDICookie.create ( "localhost", 1234 ) } ); DebuggerManager.getDebuggerManager ().startDebugging (di);
Field Summary | |
---|---|
static String |
ID
Public ID used for registration in Meta-inf/debugger. |
Method Summary | |
---|---|
static AttachingDICookie |
create(com.sun.jdi.connect.AttachingConnector attachingConnector,
Map args)
Creates a new instance of AttachingDICookie for given parameters. |
static AttachingDICookie |
create(String name)
Creates a new instance of AttachingDICookie for given parameters. |
static AttachingDICookie |
create(String hostName,
int portNumber)
Creates a new instance of AttachingDICookie for given parameters. |
Map |
getArgs()
Returns map of arguments. |
com.sun.jdi.connect.AttachingConnector |
getAttachingConnector()
Returns instance of AttachingDICookie. |
String |
getHostName()
Returns name of computer. |
int |
getPortNumber()
Returns port number. |
String |
getSharedMemoryName()
Returns shared memory block name. |
com.sun.jdi.VirtualMachine |
getVirtualMachine()
Creates a new instance of VirtualMachine for this DebuggerInfo Cookie. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ID
Method Detail |
---|
public static AttachingDICookie create(com.sun.jdi.connect.AttachingConnector attachingConnector, Map args)
attachingConnector
- a connector to be usedargs
- map of arguments
public static AttachingDICookie create(String hostName, int portNumber)
hostName
- a name of computer to attach toportNumber
- a potr number
public static AttachingDICookie create(String name)
name
- a name of shared memory block
public com.sun.jdi.connect.AttachingConnector getAttachingConnector()
public Map getArgs()
public int getPortNumber()
public String getHostName()
public String getSharedMemoryName()
public com.sun.jdi.VirtualMachine getVirtualMachine() throws IOException, com.sun.jdi.connect.IllegalConnectorArgumentsException
getVirtualMachine
in class AbstractDICookie
IOException
com.sun.jdi.connect.IllegalConnectorArgumentsException
|
org.netbeans.api.debugger.jpda/2 2.4.31 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |