Class AbstractDebuggerBreakpoint
java.lang.Object
com.pnfsoftware.jeb.core.units.code.debug.impl.AbstractDebuggerBreakpoint
- All Implemented Interfaces:
IDebuggerBreakpoint
Standard implementation of a breakpoint.
-
Field Summary
FieldsFields inherited from interface com.pnfsoftware.jeb.core.units.code.debug.IDebuggerBreakpoint
BREAK_DEFAULT, BREAK_ON_READ, BREAK_ON_WRITE -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDebuggerBreakpoint(String dbgAddress, UnitAddress<ICodeUnit> ua) Create a breakpoint. -
Method Summary
Modifier and TypeMethodDescriptionGet the breakpoint address relative to the debugger itself.intgetFlags()Retrieve the optional breakpoint flags.Get the breakpoint address relative to the unit from which the breakpoint belongs, if possible.protected voidsetAddress(String address) protected voidtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.pnfsoftware.jeb.core.units.code.debug.IDebuggerBreakpoint
isEnabled, setEnabled
-
Field Details
-
dbgAddress
-
ua
-
flags
protected int flags
-
-
Constructor Details
-
AbstractDebuggerBreakpoint
Create a breakpoint.- Parameters:
dbgAddress- debugger-relative addressua- target-unit-relative address
-
-
Method Details
-
getAddress
Description copied from interface:IDebuggerBreakpointGet the breakpoint address relative to the debugger itself. UnlikeIDebuggerBreakpoint.getUnitAddress(), this method should never return null.- Specified by:
getAddressin interfaceIDebuggerBreakpoint- Returns:
-
setAddress
-
getUnitAddress
Description copied from interface:IDebuggerBreakpointGet the breakpoint address relative to the unit from which the breakpoint belongs, if possible. This method may return null: it is possible that a breakpoint is not located within any unit processed within a JEB project.;- Specified by:
getUnitAddressin interfaceIDebuggerBreakpoint- Returns:
-
setUnitAddress
-
getFlags
public int getFlags()Description copied from interface:IDebuggerBreakpointRetrieve the optional breakpoint flags.- Specified by:
getFlagsin interfaceIDebuggerBreakpoint- Returns:
- 0 (default), or a combination of
BREAK_ON_xxxflags
-
toString
-