Package com.android.dx.dex.file
Interface DebugInfoConstants
public interface DebugInfoConstants
Constants for the dex debug info state machine format.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Advances the line register without emitting a positions entry.static final int
Advances the program counter/address register without emitting a positions entry.static final int
Marks a currently-live local variable as out of scope at the current address.static final int
Terminates a debug info sequence for a method.static final int
the smallest value a special opcode can takestatic final int
static final int
static final int
Re-introduces a local variable at the current address.static final int
Sets the "epilogue_begin" state machine register, indicating that the next position entry that is added should be considered the beginning of a method epilogue (an appropriate place to suspend execution before method exit).static final int
Sets the current file that that line numbers refer to.static final int
Sets the "prologue_end" state machine register, indicating that the next position entry that is added should be considered the end of a method prologue (an appropriate place for a method breakpoint).static final int
Introduces a local variable at the current address.static final int
Introduces a local variable at the current address with a type signature specified.
-
Field Details
-
DBG_END_SEQUENCE
static final int DBG_END_SEQUENCETerminates a debug info sequence for a method.Args: none
- See Also:
-
DBG_ADVANCE_PC
static final int DBG_ADVANCE_PCAdvances the program counter/address register without emitting a positions entry.Args:
- Unsigned LEB128 — amount to advance pc by
- See Also:
-
DBG_ADVANCE_LINE
static final int DBG_ADVANCE_LINEAdvances the line register without emitting a positions entry.Args:
- Signed LEB128 — amount to change line register by.
- See Also:
-
DBG_START_LOCAL
static final int DBG_START_LOCALIntroduces a local variable at the current address.Args:
- Unsigned LEB128 — register that will contain local.
- Unsigned LEB128 — string index (shifted by 1) of local name.
- Unsigned LEB128 — type index (shifted by 1) of type.
- See Also:
-
DBG_START_LOCAL_EXTENDED
static final int DBG_START_LOCAL_EXTENDEDIntroduces a local variable at the current address with a type signature specified.Args:
- Unsigned LEB128 — register that will contain local.
- Unsigned LEB128 — string index (shifted by 1) of local name.
- Unsigned LEB128 — type index (shifted by 1) of type.
- Unsigned LEB128 — string index (shifted by 1) of type signature.
- See Also:
-
DBG_END_LOCAL
static final int DBG_END_LOCALMarks a currently-live local variable as out of scope at the current address.Args:
- Unsigned LEB128 — register that contained local
- See Also:
-
DBG_RESTART_LOCAL
static final int DBG_RESTART_LOCALRe-introduces a local variable at the current address. The name and type are the same as the last local that was live in the specified register.Args:
- Unsigned LEB128 — register to re-start.
- See Also:
-
DBG_SET_PROLOGUE_END
static final int DBG_SET_PROLOGUE_ENDSets the "prologue_end" state machine register, indicating that the next position entry that is added should be considered the end of a method prologue (an appropriate place for a method breakpoint).The prologue_end register is cleared by any special (
>= OPCODE_BASE
) opcode.- See Also:
-
DBG_SET_EPILOGUE_BEGIN
static final int DBG_SET_EPILOGUE_BEGINSets the "epilogue_begin" state machine register, indicating that the next position entry that is added should be considered the beginning of a method epilogue (an appropriate place to suspend execution before method exit).The epilogue_begin register is cleared by any special (
>= OPCODE_BASE
) opcode.- See Also:
-
DBG_SET_FILE
static final int DBG_SET_FILESets the current file that that line numbers refer to. All subsequent line number entries make reference to this source file name, instead of the default name specified in code_item. Args:- Unsigned LEB128 — string index (shifted by 1) of source file name.
- See Also:
-
DBG_FIRST_SPECIAL
static final int DBG_FIRST_SPECIALthe smallest value a special opcode can take- See Also:
-
DBG_LINE_BASE
static final int DBG_LINE_BASE- See Also:
-
DBG_LINE_RANGE
static final int DBG_LINE_RANGE- See Also:
-