| java.lang.Object org.netbeans.api.debugger.jpda.AbstractDICookie org.netbeans.api.debugger.jpda.LaunchingDICookie
LaunchingDICookie | final public class LaunchingDICookie extends AbstractDICookie (Code) | | Launches a new JVM in debug mode and returns VirtualMachine for it.
How to use it:
DebuggerInfo di = DebuggerInfo.create (
"My First Launching Debugger Info",
new Object [] {
LaunchingDICookie.create (
"examples.texteditor.Ted",
new String [] {},
"c:\\nb\\settings\\sampledir",
true
)
}
);
DebuggerManager.getDebuggerManager ().startDebugging (di);
author: Jan Jancura |
Field Summary | |
final public static String | ID Public ID used for registration in Meta-inf/debugger. |
ID | final public static String ID(Code) | | Public ID used for registration in Meta-inf/debugger.
|
create | public static LaunchingDICookie create(String mainClassName, String commandLine, String address, boolean suspend)(Code) | | Creates a new instance of LaunchingDICookie for given parameters.
Parameters: mainClassName - a name or main class Parameters: commandLine - command line of debugged JVM Parameters: address - a address to listen on Parameters: suspend - if true session will be suspended a new instance of LaunchingDICookie for given parameters |
create | public static LaunchingDICookie create(String mainClassName, String[] args, String classPath, boolean suspend)(Code) | | Creates a new instance of LaunchingDICookie for given parameters.
Parameters: mainClassName - a name or main class Parameters: args - command line arguments Parameters: classPath - a classPath Parameters: suspend - if true session will be suspended a new instance of LaunchingDICookie for given parameters |
getClassName | public String getClassName()(Code) | | Returns main class name.
main class name |
getCommandLine | public String getCommandLine()(Code) | | Returns command line to be used.
command line to be used |
getSuspend | public boolean getSuspend()(Code) | | Returns suspended state.
suspended state |
getTransportName | public static String getTransportName()(Code) | | Returns type of transport to be used.
type of transport to be used |
getVirtualMachine | public VirtualMachine getVirtualMachine() throws IOException, IllegalConnectorArgumentsException, VMStartException(Code) | | Creates a new instance of VirtualMachine for this DebuggerInfo Cookie.
a new instance of VirtualMachine for this DebuggerInfo Cookie |
Methods inherited from org.netbeans.api.debugger.jpda.AbstractDICookie | abstract public VirtualMachine getVirtualMachine() throws IOException, IllegalConnectorArgumentsException, VMStartException(Code)(Java Doc)
|
|
|