Package org.eclipse.cdt.utils.debug
Interface IDebugEntryRequestor
- All Known Implementing Classes:
DebugDump,DebugSymsRequestor
public interface IDebugEntryRequestor
-
Method Summary
Modifier and TypeMethodDescriptionvoidacceptCaughtException(String name, DebugType type, long address) Caught Exception.voidacceptFloatConst(String name, double value) floating point constant.voidacceptIntegerConst(String name, int value) Integer constant.voidacceptParameter(String name, DebugType type, DebugParameterKind kind, long offset) Accept a parameter for the current function.voidacceptStatement(int line, long address) Statement in the compilation unit with a given address.voidacceptTypeConst(String name, DebugType type, int value) Type constant: "const b = 0", b is a type enum.voidacceptTypeDef(String name, DebugType type) Type definition.voidacceptVariable(String name, DebugType type, DebugVariableKind kind, long address) Record a variable.voidenterCodeBlock(long offset) Enter a code block in a function.voidenterCompilationUnit(String name, long address) Entering a compilation unit.voidenterFunction(String name, DebugType type, boolean isGlobal, long address) Enter a function.voidenterInclude(String name) Entering new include file in a compilation unit.voidexitCodeBlock(long offset) Exit of the current code block.voidexitCompilationUnit(long address) Exit the current compilation unit.voidexitFunction(long address) Exit the current function.voidExit the current include file.
-
Method Details
-
enterCompilationUnit
Entering a compilation unit.- Parameters:
name-address- start of address of the cu.
-
exitCompilationUnit
void exitCompilationUnit(long address) Exit the current compilation unit.- Parameters:
address- end of compilation unit.
-
enterInclude
Entering new include file in a compilation unit.- Parameters:
name-
-
exitInclude
void exitInclude()Exit the current include file. -
enterFunction
Enter a function.- Parameters:
name- of the function/methodtype- type of the return value.isGlobal- return the visiblity of the function.address- the start address of the function.
-
exitFunction
void exitFunction(long address) Exit the current function.- Parameters:
address- the address where the function ends.
-
enterCodeBlock
void enterCodeBlock(long offset) Enter a code block in a function.- Parameters:
offset- address of the block starts relative to the current function.
-
exitCodeBlock
void exitCodeBlock(long offset) Exit of the current code block.- Parameters:
offset- the address of which the blocks ends relative to the current function.
-
acceptStatement
void acceptStatement(int line, long address) Statement in the compilation unit with a given address.- Parameters:
line- lineno of the statement relative to the current compilation unit.address- address of the statement relative to the current function.
-
acceptIntegerConst
Integer constant. -
acceptFloatConst
floating point constant. -
acceptTypeConst
Type constant: "const b = 0", b is a type enum. -
acceptCaughtException
Caught Exception. -
acceptParameter
Accept a parameter for the current function.- Parameters:
name- of the parametertype- of the parameterkind- of the parameteroffset- address of the parameter relative to the current function.
-
acceptVariable
Record a variable. -
acceptTypeDef
Type definition. IDebugEntryRequestor- Parameters:
name- new nametype-
-