Class DebugDump
java.lang.Object
org.eclipse.cdt.utils.debug.tools.DebugDump
- All Implemented Interfaces:
IDebugEntryRequestor
DebugDump
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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
Exit the current include file.static void
-
Constructor Details
-
DebugDump
-
-
Method Details
-
enterCompilationUnit
Description copied from interface:IDebugEntryRequestor
Entering a compilation unit.- Specified by:
enterCompilationUnit
in interfaceIDebugEntryRequestor
- Parameters:
name
-address
- start of address of the cu.
-
exitCompilationUnit
public void exitCompilationUnit(long address) Description copied from interface:IDebugEntryRequestor
Exit the current compilation unit.- Specified by:
exitCompilationUnit
in interfaceIDebugEntryRequestor
- Parameters:
address
- end of compilation unit.
-
enterInclude
Description copied from interface:IDebugEntryRequestor
Entering new include file in a compilation unit.- Specified by:
enterInclude
in interfaceIDebugEntryRequestor
- Parameters:
name
-
-
exitInclude
public void exitInclude()Description copied from interface:IDebugEntryRequestor
Exit the current include file.- Specified by:
exitInclude
in interfaceIDebugEntryRequestor
-
enterFunction
Description copied from interface:IDebugEntryRequestor
Enter a function.- Specified by:
enterFunction
in 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:IDebugEntryRequestor
Exit the current function.- Specified by:
exitFunction
in interfaceIDebugEntryRequestor
- Parameters:
address
- the address where the function ends.
-
enterCodeBlock
public void enterCodeBlock(long offset) Description copied from interface:IDebugEntryRequestor
Enter a code block in a function.- Specified by:
enterCodeBlock
in interfaceIDebugEntryRequestor
- Parameters:
offset
- address of the block starts relative to the current function.
-
exitCodeBlock
public void exitCodeBlock(long offset) Description copied from interface:IDebugEntryRequestor
Exit of the current code block.- Specified by:
exitCodeBlock
in 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:IDebugEntryRequestor
Statement in the compilation unit with a given address.- Specified by:
acceptStatement
in 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:IDebugEntryRequestor
Integer constant.- Specified by:
acceptIntegerConst
in interfaceIDebugEntryRequestor
-
acceptFloatConst
Description copied from interface:IDebugEntryRequestor
floating point constant.- Specified by:
acceptFloatConst
in interfaceIDebugEntryRequestor
-
acceptTypeConst
Description copied from interface:IDebugEntryRequestor
Type constant: "const b = 0", b is a type enum.- Specified by:
acceptTypeConst
in interfaceIDebugEntryRequestor
-
acceptParameter
Description copied from interface:IDebugEntryRequestor
Accept a parameter for the current function.- Specified by:
acceptParameter
in 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:IDebugEntryRequestor
Record a variable.- Specified by:
acceptVariable
in interfaceIDebugEntryRequestor
-
acceptCaughtException
Description copied from interface:IDebugEntryRequestor
Caught Exception.- Specified by:
acceptCaughtException
in interfaceIDebugEntryRequestor
-
acceptTypeDef
Description copied from interface:IDebugEntryRequestor
Type definition. IDebugEntryRequestor- Specified by:
acceptTypeDef
in interfaceIDebugEntryRequestor
- Parameters:
name
- new nametype
-
-
main
-