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.int
getFlags()
Retrieve the optional breakpoint flags.Get the breakpoint address relative to the unit from which the breakpoint belongs, if possible.protected void
setAddress
(String address) protected void
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:IDebuggerBreakpoint
Get the breakpoint address relative to the debugger itself. UnlikeIDebuggerBreakpoint.getUnitAddress()
, this method should never return null.- Specified by:
getAddress
in interfaceIDebuggerBreakpoint
- Returns:
-
setAddress
-
getUnitAddress
Description copied from interface:IDebuggerBreakpoint
Get 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:
getUnitAddress
in interfaceIDebuggerBreakpoint
- Returns:
-
setUnitAddress
-
getFlags
public int getFlags()Description copied from interface:IDebuggerBreakpoint
Retrieve the optional breakpoint flags.- Specified by:
getFlags
in interfaceIDebuggerBreakpoint
- Returns:
- 0 (default), or a combination of
BREAK_ON_xxx
flags
-
toString
-