org.apache.bsf.util

Class DocumentCell


public class DocumentCell
extends java.lang.Object

A DocumentCell allows the debug manager to keep track of known documents for which it has breakpoints. When a debugger sets a breakpoint, it specifies a document. This is when a DocumentCell is created for that document (identified through its URI). The debug manager will keep the document cells at least as long as there is breakpoints known and as long as there are engines known to currently execute the document.
Author:
Olivier Gruber

Constructor Summary

DocumentCell(BSFDebugManagerImpl mger, String name)

Method Summary

void
addBreakpointAtLine(int brkptId, int lineno)
void
addBreakpointAtOffset(int brkptId, int offset)
BreakPoint
findBreakpointAtLine(int lineno)
BreakPoint
findBreakpointAtOffset(int offset)
boolean
getEntryExit()
String
getName()
void
loadNotify(BSFEngine eng)
void
removeAllBreakpoints()
void
removeBreakpoint(int brkptId)
void
setEntryExit(boolean on_value)
void
terminateEngineNotify(BSFEngine eng)

Constructor Details

DocumentCell

public DocumentCell(BSFDebugManagerImpl mger,
                    String name)

Method Details

addBreakpointAtLine

public void addBreakpointAtLine(int brkptId,
                                int lineno)

addBreakpointAtOffset

public void addBreakpointAtOffset(int brkptId,
                                  int offset)

findBreakpointAtLine

public BreakPoint findBreakpointAtLine(int lineno)

findBreakpointAtOffset

public BreakPoint findBreakpointAtOffset(int offset)

getEntryExit

public boolean getEntryExit()

getName

public String getName()

loadNotify

public void loadNotify(BSFEngine eng)

removeAllBreakpoints

public void removeAllBreakpoints()

removeBreakpoint

public void removeBreakpoint(int brkptId)

setEntryExit

public void setEntryExit(boolean on_value)

terminateEngineNotify

public void terminateEngineNotify(BSFEngine eng)