Class dstc.kalimantan.debug.ThreadBrowser
All Packages Class Hierarchy This Package Previous Next Index
Class dstc.kalimantan.debug.ThreadBrowser
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----dstc.kalimantan.debug.ThreadBrowser
- public class ThreadBrowser
- extends Frame
- implements PollCallback
A graphical thread browser
-
ThreadBrowser(Debugger, RemoteThread)
- Constructs a new ThreadBrowser on a given thread
-
action(Event, Object)
- Handles button presses
-
getSelectedStackFrame()
- Returns the selected stack frame
-
getSource(RemoteStackFrame)
- Returns the source file associated with the stack frame
-
getSource(RemoteClass)
- Returns the source file associated with the given class
-
handleEvent(Event)
- Handle UI events
-
hide()
- Disconnects the browser from the polling mechanism when hidden
-
isAtBreakpoint()
-
-
isSuspended()
- If the thread is suspended or at a breakpoint
-
on(Debugger, RemoteThread)
- Returns a possibly new ThreadBrowser on a given thread
-
pollEvent()
- Implements the PollCallback interface
-
refreshSource()
- Updates the source code to be representative of the current stack frame
-
show()
- Connects browser to the polling mechanism when visible
-
updateStackFrames(RemoteStackFrame)
- Updates the list of stack frames to reflect a recent change
ThreadBrowser
public ThreadBrowser(Debugger debugger,
RemoteThread thread) throws Exception
- Constructs a new ThreadBrowser on a given thread
on
public static ThreadBrowser on(Debugger debugger,
RemoteThread thread) throws Exception
- Returns a possibly new ThreadBrowser on a given thread
getSource
public static IndexedString getSource(RemoteStackFrame sFrame) throws Exception
- Returns the source file associated with the stack frame
getSource
public static IndexedString getSource(RemoteClass clazz) throws Exception
- Returns the source file associated with the given class
getSelectedStackFrame
public RemoteStackFrame getSelectedStackFrame()
- Returns the selected stack frame
pollEvent
public void pollEvent()
- Implements the PollCallback interface
updateStackFrames
public void updateStackFrames(RemoteStackFrame selected) throws Exception
- Updates the list of stack frames to reflect a recent change
refreshSource
public void refreshSource() throws Exception
- Updates the source code to be representative of the current stack frame
show
public void show()
- Connects browser to the polling mechanism when visible
- Overrides:
- show in class Window
hide
public void hide()
- Disconnects the browser from the polling mechanism when hidden
- Overrides:
- hide in class Component
isSuspended
public boolean isSuspended()
- If the thread is suspended or at a breakpoint
isAtBreakpoint
public boolean isAtBreakpoint()
handleEvent
public boolean handleEvent(Event event)
- Handle 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