Source code: javax/ide/debug/ClientConnector.java
1 package javax.ide.debug;
2
3 import java.io.IOException;
4
5 /**
6 * ClientConnectors expect extension writers to start the debuggee process
7 * by calling {@link Connector#startDebuggee}. Once the debuggee is launched,
8 * the extension writer can attach the debugger to the debugge by calling
9 * {@link ClientConnector#attachDebugger}.
10 *
11 * IDE providers must provide an implementation of this interface. Extension
12 * writers can access the <code>Connector</code> through the
13 * {@link Debugger#getClientConnector} method.
14 */
15 public abstract class ClientConnector extends Connector
16 {
17 /**
18 * Tells the debugger to attach to a debuggee process.
19 *
20 * Before calling this method, the extension should either start the
21 * debuggee process or tell the IDE to do so by calling
22 * {@link Connector#startDebuggee}.
23 *
24 * @exception IOException if the Connector is unable to attach to
25 * a debuggee.
26 */
27 public abstract void attachDebugger() throws IOException;
28 }
29