| |||
| Home > RealView Debugger Commands > Alphabetical command reference > PRINTTYPE | |||
The PRINTTYPE command displays language type information for a symbol.
PRINTTYPE {symbol_name | expression}
where:
symbol_nameSpecifies the name of a symbol.
expressionSpecifies a debugger expression.
The PRINTTYPE command displays language type information for a symbol or debugger expression. The information is displayed in a style similar to the source language.
The symbol name must be specified in the correct case, even if a wildcard is used for part of the name.
The following examples show how to use PRINTTYPE:
printtype EnumerationShows details of the enum type Enumeration,
defined by the dhrystone image:
typedef enum Enumeration
{
, Ident_1:0 Ident_2:1, Ident_3:2, Ident_4:3, Ident_5:4
} Enumeration;
-- Defined within module DHRY_H
printtype ptr->databufShows type details of a field referenced by the
pointer databuf.
The following commands provide similar or related functionality: