public interface

IDebuggerBreakpoint

com.pnfsoftware.jeb.core.units.code.debug.IDebuggerBreakpoint
Known Indirect Subclasses

Class Overview

Definition of a breakpoint.

Summary

Constants
int BREAK_DEFAULT standard maximal breakpoint flag (or, no flag), e.g.
int BREAK_ON_READ limited to field breakpoint
int BREAK_ON_WRITE limited to field breakpoint
Public Methods
abstract String getAddress()
Get the breakpoint address relative to the debugger itself.
abstract int getFlags()
Retrieve the optional breakpoint flags.
abstract UnitAddress<ICodeUnit> getUnitAddress()
Get the breakpoint address relative to the unit from which the breakpoint belongs, if possible.
abstract boolean isEnabled()
Determine whether or not the breakpoint is currently enable.
abstract boolean setEnabled(boolean enabled)
Enable or disable this breakpoint.

Constants

public static final int BREAK_DEFAULT

standard maximal breakpoint flag (or, no flag), e.g. break on execute for code, break on read or write for field

Constant Value: 0 (0x00000000)

public static final int BREAK_ON_READ

limited to field breakpoint

Constant Value: 1 (0x00000001)

public static final int BREAK_ON_WRITE

limited to field breakpoint

Constant Value: 2 (0x00000002)

Public Methods

public abstract String getAddress ()

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

public abstract int getFlags ()

Retrieve the optional breakpoint flags.

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

public abstract 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 abstract boolean isEnabled ()

Determine whether or not the breakpoint is currently enable.

public abstract boolean setEnabled (boolean enabled)

Enable or disable this breakpoint.

Returns
  • true if the operation was successful