KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > aspectj > debugger > base > DebuggerAdapter


1 /* -*- Mode: JDE; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2  *
3  * This file is part of the debugger and core tools for the AspectJ(tm)
4  * programming language; see http://aspectj.org
5  *
6  * The contents of this file are subject to the Mozilla Public License
7  * Version 1.1 (the "License"); you may not use this file except in
8  * compliance with the License. You may obtain a copy of the License at
9  * either http://www.mozilla.org/MPL/ or http://aspectj.org/MPL/.
10  *
11  * Software distributed under the License is distributed on an "AS IS" basis,
12  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13  * for the specific language governing rights and limitations under the
14  * License.
15  *
16  * The Original Code is AspectJ.
17  *
18  * The Initial Developer of the Original Code is Xerox Corporation. Portions
19  * created by Xerox Corporation are Copyright (C) 1999-2002 Xerox Corporation.
20  * All Rights Reserved.
21  */

22
23 package org.aspectj.debugger.base;
24
25 import org.aspectj.debugger.request.*;
26 import com.sun.jdi.*;
27 import com.sun.jdi.event.*;
28 import com.sun.jdi.request.*;
29 import java.io.*;
30 import java.util.*;
31
32 /**
33  * DebuggerAdapter.java
34  *
35  *
36  * Created: Wed Sep 06 16:03:35 2000
37  *
38  * @author <a HREF="mailto:palm@parc.xerox.com"Jeffrey Palm</a>
39  */

40
41 public class DebuggerAdapter implements DebuggerApp {
42     public void runCommand(String JavaDoc className, String JavaDoc exArgs)
43         throws NoVMException, DebuggerException { }
44     public void runCommand(String JavaDoc className, String JavaDoc vmArgs, String JavaDoc exArgs,
45                            boolean isSuspended, int debugTraceMode)
46         throws NoVMException, DebuggerException { }
47     public void clearAtCommand(String JavaDoc className, int line, EventRequest request)
48         throws NoVMException, DebuggerException { }
49     public void clearInCommand(String JavaDoc className, String JavaDoc methodProto, EventRequest request)
50         throws NoVMException, DebuggerException { }
51     public void clearOnCommand(String JavaDoc sourceName, int line, EventRequest request)
52         throws NoVMException, DebuggerException { }
53     public void clearCommand(List breakpoints)
54         throws NoVMException, DebuggerException { }
55     public void clearAllCommand(List breakpoints)
56         throws NoVMException, DebuggerException { }
57     public void stopAtCommand(String JavaDoc className, int line, EventRequest request)
58         throws NoVMException, DebuggerException { }
59     public void stopInCommand(String JavaDoc className, String JavaDoc methodProto, EventRequest request)
60         throws NoVMException, DebuggerException { }
61     public void stopOnCommand(String JavaDoc sourceName, int line, EventRequest request)
62         throws NoVMException, DebuggerException { }
63     public void stopCommand(List breakpoints)
64         throws NoVMException, DebuggerException { }
65     public void contCommand()
66         throws NoVMException, DebuggerException { }
67     public void threadsCommand(String JavaDoc threadGroupName, List threads)
68         throws NoVMException, DebuggerException { }
69     public void threadGroupsCommand(List threadGroups)
70         throws NoVMException, DebuggerException { }
71     public void fieldsCommand(String JavaDoc className, List fields)
72         throws NoVMException, DebuggerException { }
73     public void methodsCommand(String JavaDoc className, List methods)
74         throws NoVMException, DebuggerException { }
75     public void classesCommand(List classes)
76         throws NoVMException, DebuggerException { }
77     public void classCommand(String JavaDoc className, ReferenceType refType)
78         throws NoVMException, DebuggerException { }
79     public void threadCommand(String JavaDoc threadName, ThreadReference threadRef)
80         throws NoVMException, DebuggerException { }
81     public void threadGroupCommand(String JavaDoc threadGroupName, ThreadGroupReference threadGroupRef)
82         throws NoVMException, DebuggerException { }
83     public void suspendCommand(List threadNames, List threads)
84         throws NoVMException, DebuggerException { }
85     public void resumeCommand(List threadNames, List threads)
86         throws NoVMException, DebuggerException { }
87     public void whereCommand(String JavaDoc threadName, List frames)
88         throws NoVMException, DebuggerException { }
89     public void localsCommand(List locals)
90         throws NoVMException, DebuggerException { }
91     public void interruptCommand(String JavaDoc threadName, ThreadReference threadRef)
92         throws NoVMException, DebuggerException { }
93     public void upCommand(int frames, StackFrame currentFrame)
94         throws NoVMException, DebuggerException { }
95     public void downCommand(int frames, StackFrame currentFrame)
96         throws NoVMException, DebuggerException { }
97     public void stepCommand(StepRequest request)
98         throws NoVMException, DebuggerException { }
99     public void stepUpCommand(StepRequest request)
100         throws NoVMException, DebuggerException { }
101     public void stepiCommand(StepRequest request)
102         throws NoVMException, DebuggerException { }
103     public void nextCommand(StepRequest request)
104         throws NoVMException, DebuggerException { }
105     public void printCommand(Object JavaDoc valueRep, Value value)
106         throws NoVMException, DebuggerException { }
107     public void dumpCommand(Object JavaDoc valueRep, Value value)
108         throws NoVMException, DebuggerException { }
109     public void evalCommand(Object JavaDoc valueRep, Value value)
110         throws NoVMException, DebuggerException { }
111     public void setCommand(Object JavaDoc lvalue, Object JavaDoc rvalue, Value oldValue, Value newValue)
112         throws NoVMException, DebuggerException { }
113     public void classpathCommand(String JavaDoc baseDirectory, List paths)
114         throws NoVMException, DebuggerException { }
115     public void lockCommand(Object JavaDoc valueRep, LockInformation lockInfo)
116         throws NoVMException, DebuggerException { }
117     public void threadlocksCommand(String JavaDoc threadName, ThreadLockInformation threadLockInfo)
118         throws NoVMException, DebuggerException { }
119     public void watchAccessCommand(String JavaDoc className, String JavaDoc fieldName, WatchpointRequest request)
120         throws NoVMException, DebuggerException { }
121     public void watchAllCommand(String JavaDoc className, String JavaDoc fieldName, WatchpointRequest request)
122         throws NoVMException, DebuggerException { }
123     public void unwatchAccessCommand(String JavaDoc className, String JavaDoc fieldName, WatchpointRequest request)
124         throws NoVMException, DebuggerException { }
125     public void unwatchAllCommand(String JavaDoc className, String JavaDoc fieldName, WatchpointRequest request)
126         throws NoVMException, DebuggerException { }
127     public void catchCommand(String JavaDoc className, ExceptionRequest request)
128         throws NoVMException, DebuggerException { }
129     public void ignoreCommand(String JavaDoc className, ExceptionRequest request)
130         throws NoVMException, DebuggerException { }
131     public void traceMethodsCommand(String JavaDoc threadName, TraceMethodsRequest.EntryExitPair pair)
132         throws NoVMException, DebuggerException { }
133     public void untraceMethodsCommand(String JavaDoc threadName, UntraceMethodsRequest.EntryExitPair pair)
134         throws NoVMException, DebuggerException { }
135     public void excludeCommand(List classNames, List classes)
136         throws NoVMException, DebuggerException { }
137     public void quitCommand()
138         throws NoVMException, DebuggerException { }
139     public void helpCommand(String JavaDoc helpString)
140         throws NoVMException, DebuggerException { }
141     public void versionCommand(Object JavaDoc version)
142         throws NoVMException, DebuggerException { }
143     public void killCommand(String JavaDoc threadName, String JavaDoc valueRep, ThreadReference threadRef)
144         throws NoVMException, DebuggerException { }
145     public void useCommand(String JavaDoc sourcePath, String JavaDoc newSourcePath)
146         throws NoVMException, DebuggerException { }
147     public void workingdirCommand(String JavaDoc workingdirPath, String JavaDoc newWorkingdirPath)
148         throws NoVMException, DebuggerException { }
149     public void listCommand(List sourceLines)
150         throws NoVMException, DebuggerException { }
151     public void listCommand(String JavaDoc sourceName, List sourceLines)
152         throws NoVMException, DebuggerException { }
153     public void listCommand(String JavaDoc sourceName, int lineNumber, SourceManager.SourceLine sl)
154         throws NoVMException, DebuggerException { }
155     public void listCommand(String JavaDoc sourceName, int startLine, int endLine, List sourceLines)
156         throws NoVMException, DebuggerException { }
157     public void monitorCommand(String JavaDoc command, String JavaDoc result)
158         throws NoVMException, DebuggerException { }
159     public void monitorCommand(List monitors)
160         throws NoVMException, DebuggerException { }
161     public void unmonitorCommand(int number, MonitorRequest request)
162         throws NoVMException, DebuggerException { }
163     public void readCommand(String JavaDoc fileName, List commands)
164         throws NoVMException, DebuggerException { }
165     public void viewCommand(String JavaDoc sourceName, List lines)
166         throws NoVMException, DebuggerException { }
167     public void tostringCommand(String JavaDoc tostring)
168         throws NoVMException, DebuggerException { }
169     public void connectCommand(VirtualMachine vm)
170         throws NoVMException, DebuggerException { }
171     public void pwdCommand(File file)
172         throws NoVMException, DebuggerException { }
173     public void lsCommand(String JavaDoc dir, List files)
174         throws NoVMException, DebuggerException { }
175     
176     public void handleParseException(/*Parser.*/ParseException e) { }
177     public void handleNoVMException(NoVMException e) { }
178     public void handleDebuggerException(DebuggerException e) { }
179     public void handleVMDisconnectedException(VMDisconnectedException e) { }
180     public void handleInternalException(Throwable JavaDoc t) { }
181
182     public PrintStream getOutputStream() {
183       return System.err;
184     }
185     public void outln(Object JavaDoc o) { }
186     public void log(Object JavaDoc o) { }
187
188     public boolean wantsToExit() {
189         return true;
190     }
191
192     public boolean canRestart() {
193         return false;
194     }
195
196 // public VirtualMachine findVM(String vmArgs, String commandLine) {
197
// return null;
198
// }
199

200     public VirtualMachine connect(String JavaDoc vmArgs, String JavaDoc className, String JavaDoc commandLine) {
201         return null;
202     }
203 }
204
205
206
Popular Tags