public class BreakPoint
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
BreakPoint(BreakPoint bp) |
BreakPoint(DocumentCell cell,
int brkptid) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected int m_brkptId
protected int m_lineno
protected int m_offset
protected boolean m_lineDefined
protected DocumentCell m_cell
protected FnOrScript m_fnOrScript
protected CompilationUnit m_unit
public BreakPoint(BreakPoint bp)
public BreakPoint(DocumentCell cell, int brkptid)
public void setUnit(CompilationUnit unit)
public void propagate()
public void unpropagate()
public void attachToFnOrScript(FnOrScript fnOrScript)
public int getId()
public int getLineNo()
throws BSFException
BSFExceptionpublic int getOffset()
throws BSFException
BSFExceptionpublic void setLineNo(int lineno)
public void setOffset(int offset)