Initial Commit
[packages] / xemacs-packages / jde / java / src / jde / debugger / command / Run.java
1 package jde.debugger.command;
2 import jde.debugger.JDEException;
3
4
5 /**
6  *
7  *
8  * Runs an application.
9  * <p>
10  *
11  * <b>Syntax:</b>
12  * <pre>
13  * run
14  * </pre>
15  *
16  * @author Paul Kinnucan
17  * @version $Revision: 1.3 $
18  *
19  * Copyright (c) 2000, 2001, 2003    Paul Kinnucan
20  * 
21  */
22 public class Run extends DebugProcessCommand {
23   
24   /**
25    *
26    * @exception jde.debugger.JDEException <description>
27    */
28   public void doCommand() throws JDEException {
29     try {
30       m_debugger.getVM().resume();
31     } catch (Exception ex) {
32       throw new JDEException("Unspecified Error occurred: "+ex.toString());
33     }
34     m_debugger.signalCommandResult(m_cmdID, null, CMD_OK);
35   }
36
37   public Object clone() {return new Run();}
38   
39 } // Run
40
41 /*
42  * $Log: Run.java,v $
43  * Revision 1.3  2003/01/15 05:56:26  paulk
44  * Add Petter Mahlen's changes.
45  *
46  * Revision 1.2  2001/03/24 05:42:37  paulk
47  * Updated to reflect reorganization of debugger code.
48  *
49  * Revision 1.1  2000/01/31 12:48:02  paulk
50  * Start or continue application.
51  *
52  */
53
54 // End of Run.java