IDebugHostPublic interface (dbgmodel.h)

An (IDebugHostSymbol derived) interface to a public symbol (address/name only).

Represents a symbol within the publics table of a PDB. This does not have type information associated with it. It is a name and address.

Inheritance

IDebugHostPublic inherits from IDebugHostSymbol.

Methods

The IDebugHostPublic interface has these methods.

 
IDebugHostPublic::AddRef

The IDebugHostPublic::AddRef method increments the reference count for an interface on an object.
IDebugHostPublic::EnumerateChildren

The IDebugHostPublic::EnumerateChildren method gets an enumerator capable of enumerating all children of a given symbol.
IDebugHostPublic::GetContainingModule

The IDebugHostPublic::GetContainingModule method, when called on a symbol, gets the module that contains the symbol if the symbol has a containing module.
IDebugHostPublic::GetContext

The IDebugHostPublic::GetContext method, when called on a symbol, gets the host context in which the symbol is located.
IDebugHostPublic::GetLocation

The IDebugHostPublic::GetLocation method, when called on a symbol with a static location, gets the abstract location (address) of the symbol.
IDebugHostPublic::GetLocationKind

The IDebugHostPublic::GetLocationKind method, when called on a symbol, gets the kind of location the symbol is at according to the LocationKind enumeration.
IDebugHostPublic::GetName

The IDebugHostPublic::GetName method, when called on a symbol, gets the name of the symbol if it has a name.
IDebugHostPublic::GetSymbolKind

The IDebugHostPublic::GetSymbolKind method, when called on a symbol, gets the kind of symbol, such as field, base class, or type.
IDebugHostPublic::GetType

The IDebugHostPublic::GetType method, when called on a symbol, gets the type of symbol, such as int *.
IDebugHostPublic::QueryInterface

The IDebugHostPublic::QueryInterface method retrieves pointers to the supported interfaces on an object.
IDebugHostPublic::Release

The IDebugHostPublic::Release method decrements the reference count for an interface on an object.

Remarks

Public symbols represent things in the public table within a symbol file. They are, in effect, export addresses. There is no type information associated with a public symbol -- only an address. Unless a public symbol is explicitly requested by the caller, the debug host prefers to return private symbols for every inquiry. A public symbol is expressed by the IDebugHostPublic interface.

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview