Interface IDexDebugLine
public interface IDexDebugLine
This interface represents Dex debug information associated with a line of code.
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the source line number.int
Retrieve the Java source file name index where for this line of code.Get the variables defined on this line.Get the list of local variables going out-of-scope on the given line.Get the list of local variables that were previously out-of-scope and being in-scope again.boolean
Determine if the method epilogue begins on this line.boolean
Determine if the method prologue ends on this line.
-
Method Details
-
getLineNumber
int getLineNumber()Get the source line number.- Returns:
- the line number, -1 if there is no line match
-
getVariables
List<IDexDebugVariable> getVariables()Get the variables defined on this line.- Returns:
- the list of local variables, possibly empty
-
getVariablesEnd
Get the list of local variables going out-of-scope on the given line.- Returns:
- the list of variable indexes, possibly empty
-
getVariablesRestart
Get the list of local variables that were previously out-of-scope and being in-scope again.- Returns:
- the list of variable indexes, possibly empty
-
isPrologueEnd
boolean isPrologueEnd()Determine if the method prologue ends on this line.- Returns:
- true if the method prologue ends on this line
-
isEpilogueBegin
boolean isEpilogueBegin()Determine if the method epilogue begins on this line.- Returns:
- true if the method epilogue begins on this line
-
getSourceIndex
int getSourceIndex()Retrieve the Java source file name index where for this line of code.- Returns:
- the source index, -1 if none or unknown
-