|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.sqltools.debugger.model.SPDebugModelUtil
Utility class to process routine debug model objects.
Constructor Summary | |
SPDebugModelUtil()
|
Method Summary | |
static SPLineBreakpoint |
createLineBreakpoint(ProcIdentifier procid,
int lineNumber,
boolean register)
Creates a line breakpoint at the specified line for the specified proc. |
static java.util.List |
findAllLineBreakpoint(ProcIdentifier procid,
int lineNumber)
Finds breakpoints of all types in a Routine identified by procid , at line lineNumber |
static java.util.List |
findAllSPLineBreakpointForSP(ProcIdentifier procid)
Finds all breakpoints belonging to the specified routine |
static SPLineBreakpoint |
findLineBreakpoint(ProcIdentifier procid,
int lineNumber)
Returns the breakpoint object in a Routine identified by procid , at line lineNumber |
static java.lang.String |
getModelIdentifier()
Returns the identifier of the debug model the SPLineBreakpoint is
associated with. |
static boolean |
isSPBreakpointMarker(IMarker marker,
ProcIdentifier proc)
Tests whether the marker is a SP breakpoint marker for the specified routine. |
static boolean |
isSPBreakpointMarkerDelta(IMarkerDelta markerDelta,
ProcIdentifier identifier)
Tests whether the markerDelta is a SP breakpoint marker delta for the specified routine. |
static void |
removeAllBreakpointForSP(ProcIdentifier procid)
Removes all breakpoints for a particular routine. |
static boolean |
supportCondition(SPLineBreakpoint bp)
Tests whether a breakpoint support condition. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SPDebugModelUtil()
Method Detail |
public static java.lang.String getModelIdentifier()
SPLineBreakpoint
is
associated with.
public static SPLineBreakpoint createLineBreakpoint(ProcIdentifier procid, int lineNumber, boolean register) throws CoreException
procid
- Routine
identifierlineNumber
- breakpoint line
CoreException
public static SPLineBreakpoint findLineBreakpoint(ProcIdentifier procid, int lineNumber)
Routine
identified by procid
, at line lineNumber
procid
- Routine
identifierlineNumber
- line number
SPLineBreakpoint
if any, otherwise null.public static java.util.List findAllLineBreakpoint(ProcIdentifier procid, int lineNumber)
Routine
identified by procid
, at line lineNumber
procid
- Routine
identifierlineNumber
- line number
IBreakpoint
, may be emptypublic static boolean isSPBreakpointMarker(IMarker marker, ProcIdentifier proc)
marker
- proc
- Routine
identifierpublic static boolean isSPBreakpointMarkerDelta(IMarkerDelta markerDelta, ProcIdentifier identifier)
markerDelta
- identifier
- public static boolean supportCondition(SPLineBreakpoint bp) throws CoreException
bp
-
CoreException
public static java.util.List findAllSPLineBreakpointForSP(ProcIdentifier procid)
procid
- Routine
identifier
SPLineBreakpoint
, may be emptypublic static void removeAllBreakpointForSP(ProcIdentifier procid)
procid
- Routine
identifier
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |