01: /*
02: * @(#)Debugger.java 1.2 04/12/06
03: *
04: * Copyright (c) 1997-2003 Sun Microsystems, Inc. All Rights Reserved.
05: *
06: * See the file "LICENSE.txt" for information on usage and redistribution
07: * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
08: */
09: package pnuts.tools;
10:
11: /**
12: * An abstract interface for debugger
13: */
14: public interface Debugger extends CommandListener {
15: /**
16: * Sets a breakpoint
17: */
18: public void setBreakPoint(Object source, int lineno);
19:
20: /**
21: * Remove a breakpoint
22: */
23: public void removeBreakPoint(Object source, int lineno);
24:
25: /**
26: * Remove all breakpoints
27: */
28: public void clearBreakPoints();
29: }
|