1 package jde.debugger.command;
3 import jde.debugger.JDEException;
4 import jde.debugger.SessionManager;
5 import jde.debugger.JDE;
11 * The way this is implemented, the finishing of a process is done in two
12 * steps: first, the debugger is told to stop running the VM handling
13 * the debuggee process. When the VM stops executing, it sends a VMDisconnected
14 * event, which means that the debugger shuts itself down properly. The Finish
15 * command handles only the first step, telling the debugger to stop executing
25 * <li> if multiple VMs are being debugged, this command will
26 * kill the one corresponding to app_id, retaining others.
29 * @author Paul Kinnucan
30 * @version $Revision: 1.2 $
32 * Copyright (c) 2000, 2001, 2003 Paul Kinnucan
35 public class Finish extends DebugProcessCommand {
39 * @exception jde.debugger.JDEException <description>
41 public void doCommand() throws JDEException {
42 m_debugger.stopExecution();
43 JDE.commandResult(m_cmdID, "Shutting down process", CMD_OK, QUOTE);
46 public Object clone() {return new Finish();}
51 * $Log: Finish.java,v $
52 * Revision 1.2 2003/01/15 05:56:26 paulk
53 * Add Petter Mahlen's changes.
55 * Revision 1.1 2001/03/24 05:52:12 paulk