Class GraphicalDebugger

java.lang.Object
  |
  +--Debugger_std
        |
        +--GraphicalDebugger

public class GraphicalDebugger
extends Debugger_std
implements Debugger

This class is a Debugger_std specified to be interfaced with the UI DebuggerFrame.
You can read the source of this class here.


Constructor Summary
GraphicalDebugger(DigitalComponentUI dui)
           
 
Method Summary
 void AssembleAndLoadSource()
          Assembles and loadsthe source code.
 void DisplayBreakpoints()
          Displays the breakpoints.
 void DisplayFileRegisters()
          Displays the file registers.
 void DisplayFlash()
          Displays the flash.
 void DisplayInstruction()
          Displays the current instruction.
 void DisplayStack()
          Displays the stack.
 void DisplayState()
          Displays the state of the PIC.
 void LoadProgram(CompiledProgram prog)
          Loads a program into the PIC.
 void LoadSource(java.lang.String filename)
           
 void ModifyState(int i)
           
 void RefreshFlash(int n)
          Refreshes instruction n of the flash.
 void setRAM(int i)
           
 void setStack(int i)
           
 
Methods inherited from class Debugger_std
Animate, DisplayAll, GetBreakpoint, getLabelAddress, getPC, getPIC, IsBreakpoint, LoadProgram, RemoveBreakpoint, Run, Running, SaveProgram, SaveSource, SetBreakpoint, setPC, StepOver, Stop, Trace, UpdateSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphicalDebugger

public GraphicalDebugger(DigitalComponentUI dui)
Method Detail

LoadSource

public void LoadSource(java.lang.String filename)
Overrides:
LoadSource in class Debugger_std

DisplayFileRegisters

public void DisplayFileRegisters()
Description copied from interface: Debugger
Displays the file registers.
Specified by:
DisplayFileRegisters in interface Debugger

DisplayFlash

public void DisplayFlash()
Description copied from interface: Debugger
Displays the flash.
Specified by:
DisplayFlash in interface Debugger

RefreshFlash

public void RefreshFlash(int n)
Description copied from interface: Debugger
Refreshes instruction n of the flash.
Specified by:
RefreshFlash in interface Debugger

DisplayState

public void DisplayState()
Description copied from interface: Debugger
Displays the state of the PIC.
Specified by:
DisplayState in interface Debugger

DisplayInstruction

public void DisplayInstruction()
Description copied from interface: Debugger
Displays the current instruction.
Specified by:
DisplayInstruction in interface Debugger

DisplayStack

public void DisplayStack()
Description copied from interface: Debugger
Displays the stack.
Specified by:
DisplayStack in interface Debugger

DisplayBreakpoints

public void DisplayBreakpoints()
Description copied from interface: Debugger
Displays the breakpoints.
Specified by:
DisplayBreakpoints in interface Debugger
Overrides:
DisplayBreakpoints in class Debugger_std

LoadProgram

public void LoadProgram(CompiledProgram prog)
Description copied from interface: Debugger
Loads a program into the PIC.
Specified by:
LoadProgram in interface Debugger
Overrides:
LoadProgram in class Debugger_std
Tags copied from interface: Debugger
Parameters:
prog - CompiledProgram to load.

AssembleAndLoadSource

public void AssembleAndLoadSource()
Description copied from interface: Debugger
Assembles and loadsthe source code.
Specified by:
AssembleAndLoadSource in interface Debugger
Overrides:
AssembleAndLoadSource in class Debugger_std

ModifyState

public void ModifyState(int i)

setStack

public void setStack(int i)

setRAM

public void setRAM(int i)