jde.debugger
Class VMUtil

java.lang.Object
  |
  +--jde.debugger.VMUtil

public class VMUtil
extends java.lang.Object

Contains a couple of static functions that simplify managing virtual machines. Some kind of rearrangement between this class and the Debugger class should probably be made - this class doesn't feel so meaningful at the moment, whereas the methods for launching/attaching/listening to VMs in the Debugger class are messy. Something for the future.

Created: Tue Jan 08 18:49:28 2002

Version:
1.0
Author:
Petter Måhlén

Method Summary
static com.sun.jdi.connect.Connector getConnector(java.lang.String name)
          Gets a connector.
static void shutdown(com.sun.jdi.VirtualMachine vm)
          Shut down the indicated virtual machine.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getConnector

public static final com.sun.jdi.connect.Connector getConnector(java.lang.String name)
Gets a connector.
Parameters:
type - connector class name

shutdown

public static void shutdown(com.sun.jdi.VirtualMachine vm)
Shut down the indicated virtual machine.
Parameters:
vm - a VirtualMachine value