Class dstc.kalimantan.debug.Debugger
All Packages Class Hierarchy This Package Previous Next Index
Class dstc.kalimantan.debug.Debugger
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----dstc.kalimantan.debug.Debugger
- public class Debugger
- extends Frame
- implements DebuggerCallback, PollCallback
A graphical debugger
-
args
- The arguments to run a new thread
-
debugger
- The remote debugger
-
pollManager
- The poll manager
-
Debugger(String)
- Constructs a debugger on the local host using the cookie
-
Debugger(String, String)
- Constructs a debugger on the named host using the cookie
-
Debugger()
- Constructs a new local debugger
-
action(Event, Object)
- Handles button presses
-
breakpointEvent(RemoteThread)
- Implements the DebuggerCallback interface
-
clearBreakpoint(String, String)
- Removes a breakpoint fro the named class and method
-
clearBreakpoint(String, int)
- Removes a breakpoint fro the named class and line number
-
exceptionEvent(RemoteThread, String)
- Implements the DebuggerCallback interface
-
handleEvent(Event)
- Handles UI events
-
hide()
- Shut everything down when the window is hidden
-
initialize(RemoteDebugger)
- Constructs a debugger on the given RemoteDebugger
-
loadClass(String)
- Loads a class into the client application
-
pollEvent()
- Implements the PollCallback interface
-
printToConsole(String)
- Implements the DebuggerCallback interface
-
quitEvent()
- Implements the DebuggerCallback interface
-
refreshThreads()
- Updates the list of threads if necessary
-
run(String[])
- Runs a class's main() method
-
run()
- Run the default class's main() method
-
setBreakpoint(String, String)
- Sets a breakpoint on the named class and method
-
show()
- Connects the debugger to the polling mechanism when visible
-
threadDeathEvent(RemoteThread)
- Implements the DebuggerCallback interface
-
updateList(List, String[], int)
-
debugger
public RemoteDebugger debugger
- The remote debugger
pollManager
public PollManager pollManager
- The poll manager
args
public String args[]
- The arguments to run a new thread
Debugger
public Debugger(String cookie) throws Exception
- Constructs a debugger on the local host using the cookie
Debugger
public Debugger(String hostName,
String cookie) throws Exception
- Constructs a debugger on the named host using the cookie
Debugger
public Debugger() throws Exception
- Constructs a new local debugger
initialize
public void initialize(RemoteDebugger debugger) throws Exception
- Constructs a debugger on the given RemoteDebugger
breakpointEvent
public void breakpointEvent(RemoteThread thread) throws Exception
- Implements the DebuggerCallback interface
exceptionEvent
public void exceptionEvent(RemoteThread thread,
String error) throws Exception
- Implements the DebuggerCallback interface
quitEvent
public void quitEvent()
- Implements the DebuggerCallback interface
printToConsole
public void printToConsole(String string)
- Implements the DebuggerCallback interface
threadDeathEvent
public void threadDeathEvent(RemoteThread thread)
- Implements the DebuggerCallback interface
pollEvent
public void pollEvent()
- Implements the PollCallback interface
updateList
public void updateList(List list,
String items[],
int index)
loadClass
public void loadClass(String className)
- Loads a class into the client application
run
public void run(String args[])
- Runs a class's main() method
run
public void run()
- Run the default class's main() method
setBreakpoint
public void setBreakpoint(String className,
String methodName)
- Sets a breakpoint on the named class and method
clearBreakpoint
public void clearBreakpoint(String className,
String methodName)
- Removes a breakpoint fro the named class and method
clearBreakpoint
public void clearBreakpoint(String className,
int lineno)
- Removes a breakpoint fro the named class and line number
refreshThreads
public void refreshThreads() throws Exception
- Updates the list of threads if necessary
show
public void show()
- Connects the debugger to the polling mechanism when visible
- Overrides:
- show in class Window
hide
public void hide()
- Shut everything down when the window is hidden
- Overrides:
- hide in class Component
handleEvent
public boolean handleEvent(Event event)
- Handles UI events
- Overrides:
- handleEvent in class Component
action
public boolean action(Event event,
Object target)
- Handles button presses
- Overrides:
- action in class Component
All Packages Class Hierarchy This Package Previous Next Index