org.apache.bsf.engines.javascript
public class BreakPoint extends Object
UNKNOWN: Olivier Gruber
Field Summary | |
---|---|
protected int | m_brkptId |
protected DocumentCell | m_cell |
protected FnOrScript | m_fnOrScript |
protected boolean | m_lineDefined |
protected int | m_lineno |
protected int | m_offset |
protected CompilationUnit | m_unit |
Constructor Summary | |
---|---|
BreakPoint(BreakPoint bp) | |
BreakPoint(DocumentCell cell, int brkptid) |
Method Summary | |
---|---|
void | attachToFnOrScript(FnOrScript fnOrScript)
attaches this breakpoint to the specified FnOrScript. |
int | getId() |
int | getLineNo() |
int | getOffset() |
void | propagate()
Propagating the breakpoint to its corresponding
compilation unit, the side effect of that is to
set the breakpoint in the Rhino engine. |
void | setLineNo(int lineno) |
void | setOffset(int offset) |
void | setUnit(CompilationUnit unit) |
void | unpropagate()
Unpropagating the breakpoint to its corresponding
compilation unit, the side effect of that is to
unset the breakpoint in the Rhino engine. |
Returns: the identifier of the breakpoint.
Returns: the line number of that breakpoint. This method will succeed only if the breakpoint as been defined at a line number. There is no automated translation between line number and offsets...
Returns: the character offset of that breakpoint. This method will succeed only if the breakpoint as been defined at an offset. There is no automated translation between line number and offsets...