IaqCOMAccessDbgSourceFile Object

Applies to AQTime 8.81, last modified on May 21, 2021

Description

IaqCOMAccessDbgSourceFile objects provide access to debug symbols that correspond to source files. You use these objects to automate profiling areas via COM.

Properties of an IaqCOMAccessDbgSourceFile object provide information about the source file to which the object corresponds and help you enumerate classes and routines defined in the source file.

Inheritance Hierarchy

The object implements the following interfaces:

IaqCOMAccessDbgSourceFile

Members

IaqCOMAccessDbgSourceFile
Members(in alphabetical order) Description
Module Property. Read-only. Returns an IaqCOMAccessDbgModule object that provides debug information about the module into which the source file’s code is included.
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 source file. 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 the symbol’s 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 source file. The index is zero-based. To obtain the total number of debug symbols of the desired type in the source file, use the ItemCount property.

IaqCOMAccessDbgSymbol
Members(in alphabetical order) Description
FullName Property. Read-only. String. Returns the name of the source file as it is specified in the debug information. Depending on the application’s computer, this name can contain only the file name or it can also include the source file’s path. For example, C# and Visual C++ compilers include fully-qualified file paths, Java includes only file names (with extensions), Delphi includes file names for standard VCL source files, and fully-qualified names for users’ source files.
Name Property. Read-only. String. For debug symbols that correspond to source files, this property returns the same value as the FullName property.
Type Property. Read-only. Specifies the type of the debug symbol. For debug symbols that correspond to source files this property returns 2 (or dtSourceFile).

Example

For an example of using the IaqCOMAccessDbgSourceFile objects, 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