Compiler Settings for Borland Delphi for .NET

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

This topic explains how to prepare applications created with Borland Delphi 8 (Delphi for .NET) or Borland Delphi 2005 for .NET for AQTime. To learn how to prepare applications created with Delphi 2005 for Win32 and Delphi 7.0, see Compiler Settings for Borland Delphi 7.0. To learn how to prepare applications created with other Delphi versions, see Compiler Settings for .NET Applications.

To add debug information to your Delphi for .NET application, do the following:

  1. Open your project in Delphi for .NET.
  2. Select Project > Options from the main menu. This will open the Project Options dialog.
  3. Select the Compiler category from the treeview on the left of the dialog and enable the following options:
    • Debug information
    • Local Symbols
    • Use Debug DCUILs
    Project Options:Compiler

    Click the image to enlarge it.

  4. Select the Linker category and enable the Generate .PDB debug info file option:
    Project Options:Linker

    Click the image to enlarge it.

  5. Click OK to close the dialog and recompile your application.

When your application is ready for final delivery, do not forget to compile it without debug information to reduce the overall application size.

See Also

How AQTime Profilers Use Metadata and Debug Information
Profiling .NET Applications - Specifics
Adding the AQTime Menu Item to Borland Delphi and C++Builder IDE

Highlight search results