Class DebugDump
java.lang.Object
org.eclipse.cdt.utils.debug.tools.DebugDump
- All Implemented Interfaces:
IDebugEntryRequestor
DebugDump
-
Constructor Summary
Constructors -
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.static void
-
Constructor Details
-
DebugDump
-
-
Method Details
-
enterCompilationUnit
Description copied from interface:IDebugEntryRequestorEntering a compilation unit.- Specified by:
enterCompilationUnitin interfaceIDebugEntryRequestor- Parameters:
name-address- start of address of the cu.
-
exitCompilationUnit
public void exitCompilationUnit(long address) Description copied from interface:IDebugEntryRequestorExit the current compilation unit.- Specified by:
exitCompilationUnitin interfaceIDebugEntryRequestor- Parameters:
address- end of compilation unit.
-
enterInclude
Description copied from interface:IDebugEntryRequestorEntering new include file in a compilation unit.- Specified by:
enterIncludein interfaceIDebugEntryRequestor- Parameters:
name-
-
exitInclude
public void exitInclude()Description copied from interface:IDebugEntryRequestorExit the current include file.- Specified by:
exitIncludein interfaceIDebugEntryRequestor
-
enterFunction
Description copied from interface:IDebugEntryRequestorEnter a function.- Specified by:
enterFunctionin interfaceIDebugEntryRequestor- 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
public void exitFunction(long address) Description copied from interface:IDebugEntryRequestorExit the current function.- Specified by:
exitFunctionin interfaceIDebugEntryRequestor- Parameters:
address- the address where the function ends.
-
enterCodeBlock
public void enterCodeBlock(long offset) Description copied from interface:IDebugEntryRequestorEnter a code block in a function.- Specified by:
enterCodeBlockin interfaceIDebugEntryRequestor- Parameters:
offset- address of the block starts relative to the current function.
-
exitCodeBlock
public void exitCodeBlock(long offset) Description copied from interface:IDebugEntryRequestorExit of the current code block.- Specified by:
exitCodeBlockin interfaceIDebugEntryRequestor- Parameters:
offset- the address of which the blocks ends relative to the current function.
-
acceptStatement
public void acceptStatement(int line, long address) Description copied from interface:IDebugEntryRequestorStatement in the compilation unit with a given address.- Specified by:
acceptStatementin interfaceIDebugEntryRequestor- Parameters:
line- lineno of the statement relative to the current compilation unit.address- address of the statement relative to the current function.
-
acceptIntegerConst
Description copied from interface:IDebugEntryRequestorInteger constant.- Specified by:
acceptIntegerConstin interfaceIDebugEntryRequestor
-
acceptFloatConst
Description copied from interface:IDebugEntryRequestorfloating point constant.- Specified by:
acceptFloatConstin interfaceIDebugEntryRequestor
-
acceptTypeConst
Description copied from interface:IDebugEntryRequestorType constant: "const b = 0", b is a type enum.- Specified by:
acceptTypeConstin interfaceIDebugEntryRequestor
-
acceptParameter
Description copied from interface:IDebugEntryRequestorAccept a parameter for the current function.- Specified by:
acceptParameterin interfaceIDebugEntryRequestor- Parameters:
name- of the parametertype- of the parameterkind- of the parameteroffset- address of the parameter relative to the current function.
-
acceptVariable
Description copied from interface:IDebugEntryRequestorRecord a variable.- Specified by:
acceptVariablein interfaceIDebugEntryRequestor
-
acceptCaughtException
Description copied from interface:IDebugEntryRequestorCaught Exception.- Specified by:
acceptCaughtExceptionin interfaceIDebugEntryRequestor
-
acceptTypeDef
Description copied from interface:IDebugEntryRequestorType definition. IDebugEntryRequestor- Specified by:
acceptTypeDefin interfaceIDebugEntryRequestor- Parameters:
name- new nametype-
-
main
-