Compiler Settings for Microsoft Visual Basic

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

This topic explains how to prepare applications that were created with Microsoft Visual Basic 6.0 for AQTime. To learn how to prepare applications created with Visual Basic .NET, see Compiler Settings for Microsoft Visual Basic .NET. To learn how to prepare applications created with Visual Basic 2005 - 2017, see Compiler Settings for Microsoft Visual Basic 2005 - 2017.

To prepare your Visual Basic application for AQTime, compile it with debug information that is generated as an external PDB file. Follow these steps:

  1. Open your project in Microsoft Visual Basic.
  2. Select Project > Project Properties from Visual Basic's main menu. This will open the Project Properties dialog.
  3. Move to the Compile tabbed page and check the Create Symbolic Debug Info box:
    Project Properties: Compile
  4. Press OK to close the dialog.
  5. Before you start compiling your application, make certain that the Link environment variable is not defined. If this environment variable exists, Visual Basic will embed debug info into the executable and thus the debug info will be unavailable for AQTime.

If you wish to profile an ActiveX control or a COM server, you must register its "debug" version in the system (see Profiling COM Applications).

When your application is ready for release, remember to recompile it without debug information to reduce the application size.

See Also

How AQTime Profilers Use Metadata and Debug Information

Highlight search results