pnuts.tools
Class VisualDebugger

java.lang.Object
  extended by pnuts.tools.VisualDebuggerView
      extended by pnuts.tools.VisualDebugger
All Implemented Interfaces:
CommandListener, ContextFactory, Debugger

public class VisualDebugger
extends VisualDebuggerView
implements Debugger, ContextFactory


Field Summary
 
Fields inherited from class pnuts.tools.VisualDebuggerView
actionSuffix, clearAction, closeAction, contAction, imageSuffix, inspectAction, labelSuffix, model, nextAction, openAction, shortcutSuffix, stepAction, stepUpAction, tipSuffix
 
Constructor Summary
VisualDebugger()
           
 
Method Summary
 void clearBreakPoints()
          Remove all breakpoints
 Context createContext()
          Create a context
 Context createContext(Context context)
           
 void removeBreakPoint(java.lang.Object source, int lineno)
          Remove a breakpoint
 void setBreakPoint(java.lang.Object source, int lineno)
          Sets a breakpoint
 void signal(CommandEvent event)
          Some kind of event raised, e.g.
 
Methods inherited from class pnuts.tools.VisualDebuggerView
createMenu, createMenubar, createMenuItem, createTextArea, createToolbarButton, exitGUI, getJFrame, getModel, getResource, getResourceString, getTitleString, open, startGUI, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisualDebugger

public VisualDebugger()
Method Detail

createContext

public Context createContext(Context context)

createContext

public Context createContext()
Description copied from interface: ContextFactory
Create a context

Specified by:
createContext in interface ContextFactory

setBreakPoint

public void setBreakPoint(java.lang.Object source,
                          int lineno)
Description copied from interface: Debugger
Sets a breakpoint

Specified by:
setBreakPoint in interface Debugger

removeBreakPoint

public void removeBreakPoint(java.lang.Object source,
                             int lineno)
Description copied from interface: Debugger
Remove a breakpoint

Specified by:
removeBreakPoint in interface Debugger

clearBreakPoints

public void clearBreakPoints()
Description copied from interface: Debugger
Remove all breakpoints

Specified by:
clearBreakPoints in interface Debugger

signal

public void signal(CommandEvent event)
Description copied from interface: CommandListener
Some kind of event raised, e.g. the line number has changed.

Specified by:
signal in interface CommandListener