jde.debugger.command
Class Finish

java.lang.Object
  |
  +--jde.debugger.command.DebugCommand
        |
        +--jde.debugger.command.DebugProcessCommand
              |
              +--jde.debugger.command.Finish
All Implemented Interfaces:
java.lang.Cloneable, Protocol

public class Finish
extends DebugProcessCommand

'finish' command.

The way this is implemented, the finishing of a process is done in two steps: first, the debugger is told to stop running the VM handling the debuggee process. When the VM stops executing, it sends a VMDisconnected event, which means that the debugger shuts itself down properly. The Finish command handles only the first step, telling the debugger to stop executing the debuggee VM. Syntax:

 finish
 
Comments:

Version:
$Revision: 1.2 $ Copyright (c) 2000, 2001, 2003 Paul Kinnucan
Author:
Paul Kinnucan

Fields inherited from class jde.debugger.command.DebugProcessCommand
m_debugger
 
Fields inherited from interface jde.debugger.Protocol
APP_IO, ATTACH_SHMEM, ATTACH_SOCKET, BR, BREAK, CANCEL_TRACE_CLASSES, CANCEL_TRACE_METHODS, CANCEL_TRACE_THREADS, CLEAR, CMD_NOK, CMD_OK, COMMAND_ERROR, COMMAND_RESULT, COMMANDS, CONNECTED_TO_VM, DEBUG, ERROR, EVALUATE, EVENT_BREAKPOINT_HIT, EVENT_CLASS_PREPARE, EVENT_CLASS_UNLOAD, EVENT_EXCEPTION, EVENT_METHOD_ENTRY, EVENT_METHOD_EXIT, EVENT_OTHER, EVENT_STEP_COMPLETED, EVENT_THREAD_DEATH, EVENT_THREAD_START, EVENT_VM_DEATH, EVENT_VM_DISCONNECT, EVENT_VM_START, EVENT_WATCHPOINT_HIT, EVENTS, EVENTSET, EXCEPTION, EXIT, FINISH, FRAMEWORK, GET_ARRAY, GET_LOADED_CLASSES, GET_LOCALS, GET_OBJECT, GET_OBJECT_MONITORS, GET_PATH_INFORMATION, GET_STRING, GET_THREAD, GET_THREADS, GUI, INTERRUPT, INVALID, JDE_BUG, JDE_INIT_DEBUG_SESSION, JDE_PIPE, KILL_THREAD, LAUNCH, LISTEN_SHMEM, LISTEN_SOCKET, MESSAGE, NONE, NOQUOTE, QUIT, QUOTE, REPORT_IDS_IN_USE, RESUME, RUN, SPEC_RESOLVED, STEP, SUSPEND, TRACE_CLASSES, TRACE_EXCEPTIONS, TRACE_METHODS, TRACE_THREADS, WARNING, WATCH
 
Constructor Summary
Finish()
           
 
Method Summary
 java.lang.Object clone()
           
 void doCommand()
           
 
Methods inherited from class jde.debugger.command.DebugProcessCommand
getDebugger, init, setDebugger
 
Methods inherited from class jde.debugger.command.DebugCommand
equals, getID, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Finish

public Finish()
Method Detail

doCommand

public void doCommand()
               throws JDEException
Overrides:
doCommand in class DebugCommand
Throws:
JDEException -

clone

public java.lang.Object clone()
Overrides:
clone in class DebugCommand