communicationClass = (ClassType) extraArg;
VirtualMachine vm = communicationClass.virtualMachine();
if (vm.eventRequestManager().stepRequests().size() > 0) {
throw new RuntimeException("Some threads are currently stepping");
}
if (vm.eventRequestManager().breakpointRequests().size() > 0) {
throw new RuntimeException("There are some breakpoints set");
}
PipedOutputStream pos = new PipedOutputStream();
pipedOut = new WrappedPipedOutputStream(pos);
pipedIn = new PipedInputStream();