public abstract class

AbstractDebuggerBreakpoint

extends Object
implements IDebuggerBreakpoint
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.debug.impl.AbstractDebuggerBreakpoint

Class Overview

Standard implementation of a breakpoint.

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.debug.IDebuggerBreakpoint
Fields
protected String dbgAddress
protected int flags
protected UnitAddress<ICodeUnit> ua
Public Constructors
AbstractDebuggerBreakpoint(String dbgAddress, UnitAddress<ICodeUnit> ua)
Create a breakpoint.
Public Methods
String getAddress()
Get the breakpoint address relative to the debugger itself.
int getFlags()
Retrieve the optional breakpoint flags.
UnitAddress<ICodeUnit> getUnitAddress()
Get the breakpoint address relative to the unit from which the breakpoint belongs, if possible.
String toString()
Protected Methods
void setAddress(String address)
void setUnitAddress(UnitAddress<ICodeUnit> ua)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pnfsoftware.jeb.core.units.code.debug.IDebuggerBreakpoint

Fields

protected String dbgAddress

protected int flags

protected UnitAddress<ICodeUnit> ua

Public Constructors

public AbstractDebuggerBreakpoint (String dbgAddress, UnitAddress<ICodeUnit> ua)

Create a breakpoint.

Parameters
dbgAddress debugger-relative address
ua target-unit-relative address

Public Methods

public String getAddress ()

Get the breakpoint address relative to the debugger itself. Unlike getUnitAddress(), this method should never return null.

public int getFlags ()

Retrieve the optional breakpoint flags.

Returns
  • 0 (default), or a combination of BREAK_ON_xxx flags

public UnitAddress<ICodeUnit> getUnitAddress ()

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.;

public String toString ()

Protected Methods

protected void setAddress (String address)

protected void setUnitAddress (UnitAddress<ICodeUnit> ua)