java.lang .Object org.apache.harmony.jpda.tests.framework .DebuggeeWrapper All known Subclasses: org.apache.harmony.jpda.tests.framework.jdwp .JDWPDebuggeeWrapper ,DebuggeeWrapper abstract public class DebuggeeWrapper (Code) This class represents debuggee VM on debugger side.
This abstract class defines a set of commands to control debuggee VM.
To provide the safely start up and shoot down of debuggee, an instance of
DebuggeeWrapper
should be registered in DebuggeeRegister
.
See Also: DebuggeeRegister
Method Summary abstract public voiddispose () An implementation of this method must cause the debuggee to dispose.abstract public voidexit (int exitStatus) An implementation of this method must cause the debuggee to exit
with specified exitStatus
.public LogWriter getLogWriter () Return associated logWriter object.abstract public voidresume () An implementation of this method must cause the debuggee to resume.abstract public voidstart () An implementation of this method must initiate the debuggee to start.abstract public voidstop () An implementation of this method must cause the debuggee to stop.
DebuggeeWrapper public DebuggeeWrapper(TestOptions settings, LogWriter logWriter)(Code) Creates an instance of DebuggeeWrapper
.
Parameters: settings - specifies parameters for debuggee startParameters: logWriter - provides unified facilities for logging
dispose abstract public void dispose()(Code) An implementation of this method must cause the debuggee to dispose.
exit abstract public void exit(int exitStatus)(Code) An implementation of this method must cause the debuggee to exit
with specified exitStatus
.
Parameters: exitStatus -
getLogWriter public LogWriter getLogWriter()(Code) Return associated logWriter object.
associated logWriter
resume abstract public void resume()(Code) An implementation of this method must cause the debuggee to resume.
start abstract public void start()(Code) An implementation of this method must initiate the debuggee to start.
stop abstract public void stop()(Code) An implementation of this method must cause the debuggee to stop.