IaqCOMAccessDbgUnit Object

Applies to AQTime 8.81, last modified on January 18, 2022

Description

IaqCOMAccessDbgUnit objects provide access to debug symbols that correspond to units. You use these objects to automate profiling areas via COM.

Properties of an IaqCOMAccessDbgUnit object provide information about the unit to which the object corresponds and help you enumerate namespaces, classes, and routines defined in that unit.

Inheritance Hierarchy

The object implements the following interfaces:

IaqCOMAccessDbgUnit

Members

IaqCOMAccessDbgUnit
Members(in alphabetical order) Description
Module Property. Read-only. Returns an IaqCOMAccessDbgModule object that provides debug information about the module to which the unit belongs.
IaqCOMAccessDbgContainer
Members(in alphabetical order) Description
ItemCount(DbgType) Property. Read-only. Integer. Returns the number of classes, routines and other debug symbols that were defined in the unit. The DbgType parameter specifies the type of desired debug symbols. To set this parameter, you can use either values of the TDebugType enumeration type or the appropriate integer value.
Item(DbgType, Index) Property. Read-only. Provides programming interface to a debug symbol by its type and index:
  • DbgType - Specifies the type of the desired symbol. To set this parameter, you can use either a value of the TDebugType enumeration type or the appropriate integer value.

  • Index - Specifies the index of the desired symbol in the debug info container that corresponds to the unit. The index is zero-based. To obtain the total number of debug symbols of the desired type in the unit, use the ItemCount property.

IaqCOMAccessDbgSymbol
Members(in alphabetical order) Description
FullName Property. Read-only. String. Specifies the fully-qualified name of the unit.
Name Property. Read-only. String. Specifies the name of the unit.
Type Property. Read-only. Specifies the type of the debug symbol. For debug symbols that correspond to units this property returns 3 (or dtUnit).

Example

For information on working with debug symbols, see Managing Profiling Areas via COM.

See Also

COM Type Reference
Managing Profiling Areas via COM
Working With AQTime via COM - Overview

Highlight search results