public class DebugSymsRequestor extends Object implements IDebugEntryRequestor
| Constructor and Description |
|---|
DebugSymsRequestor() |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptCaughtException(String name,
DebugType type,
long address)
Caught Exception.
|
void |
acceptFloatConst(String name,
double value)
floating point constant.
|
void |
acceptIntegerConst(String name,
int value)
Integer constant.
|
void |
acceptParameter(String name,
DebugType type,
DebugParameterKind kind,
long offset)
Accept a parameter for the current function.
|
void |
acceptStatement(int line,
long address)
Statement in the compilation unit with a given address.
|
void |
acceptTypeConst(String name,
DebugType type,
int value)
Type constant: "const b = 0", b is a type enum.
|
void |
acceptTypeDef(String name,
DebugType type)
Type definition.
|
void |
acceptVariable(String name,
DebugType type,
DebugVariableKind kind,
long address)
Record a variable.
|
void |
enterCodeBlock(long offset)
Enter a code block in a function.
|
void |
enterCompilationUnit(String name,
long address)
Entering a compilation unit.
|
void |
enterFunction(String name,
DebugType type,
boolean isGlobal,
long address)
Enter a function.
|
void |
enterInclude(String name)
Entering new include file in a compilation unit.
|
void |
exitCodeBlock(long offset)
Exit of the current code block.
|
void |
exitCompilationUnit(long address)
Exit the current compilation unit.
|
void |
exitFunction(long address)
Exit the current function.
|
void |
exitInclude()
Exit the current include file.
|
DebugSym[] |
getEntries() |
DebugSym |
getEntry(long addr) |
DebugSym[] |
getSortedEntries() |
public DebugSym[] getSortedEntries()
public DebugSym[] getEntries()
public DebugSym getEntry(long addr)
public void enterCompilationUnit(String name, long address)
IDebugEntryRequestorenterCompilationUnit in interface IDebugEntryRequestoraddress - start of address of the cu.public void exitCompilationUnit(long address)
IDebugEntryRequestorexitCompilationUnit in interface IDebugEntryRequestoraddress - end of compilation unit.public void enterInclude(String name)
IDebugEntryRequestorenterInclude in interface IDebugEntryRequestorpublic void exitInclude()
IDebugEntryRequestorexitInclude in interface IDebugEntryRequestorpublic void enterFunction(String name, DebugType type, boolean isGlobal, long address)
IDebugEntryRequestorenterFunction in interface IDebugEntryRequestorname - of the function/methodtype - type of the return value.isGlobal - return the visiblity of the function.address - the start address of the function.public void exitFunction(long address)
IDebugEntryRequestorexitFunction in interface IDebugEntryRequestoraddress - the address where the function ends.public void enterCodeBlock(long offset)
IDebugEntryRequestorenterCodeBlock in interface IDebugEntryRequestoroffset - address of the block starts relative to the current function.public void exitCodeBlock(long offset)
IDebugEntryRequestorexitCodeBlock in interface IDebugEntryRequestoroffset - the address of which the blocks ends relative to the current function.public void acceptStatement(int line,
long address)
IDebugEntryRequestoracceptStatement in interface IDebugEntryRequestorline - lineno of the statement relative to the current compilation unit.address - address of the statement relative to the current function.public void acceptIntegerConst(String name, int value)
IDebugEntryRequestoracceptIntegerConst in interface IDebugEntryRequestorpublic void acceptFloatConst(String name, double value)
IDebugEntryRequestoracceptFloatConst in interface IDebugEntryRequestorpublic void acceptTypeConst(String name, DebugType type, int value)
IDebugEntryRequestoracceptTypeConst in interface IDebugEntryRequestorpublic void acceptParameter(String name, DebugType type, DebugParameterKind kind, long offset)
IDebugEntryRequestoracceptParameter in interface IDebugEntryRequestorname - of the parametertype - of the parameterkind - of the parameteroffset - address of the parameter relative to the current function.public void acceptVariable(String name, DebugType type, DebugVariableKind kind, long address)
IDebugEntryRequestoracceptVariable in interface IDebugEntryRequestorpublic void acceptCaughtException(String name, DebugType type, long address)
IDebugEntryRequestoracceptCaughtException in interface IDebugEntryRequestorpublic void acceptTypeDef(String name, DebugType type)
IDebugEntryRequestoracceptTypeDef in interface IDebugEntryRequestorname - new nameCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.