Compiler Settings for Microsoft Visual Basic .NET

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

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

To add debug information to your Visual Basic .NET application, follow these steps:

  1. Open your project in Visual Studio .NET.
  2. Select Build > Configuration Manager from the main menu. This will open the Configuration Manager dialog. Select the Debug configuration for your project:
    Configuration Manager Dialog

    Close the dialog.

  3. Right-click the project in the Solution Explorer and select Properties from the context menu. This will open the Property Pages dialog.
  4. In the dialog,
    1. Open the Configuration Properties > Build page and select Active (Debug) from the Configuration dropdown list at the top of the dialog.
    2. In the Configuration Properties > Build page enable the Generate debugging information option.
      Property Pages: Configuration Properties > Build

      Click the image to enlarge it.

    3. Switch to the Configuration Properties > Optimizations page and turn off the Enable Optimizations option.
      Property Pages: Configuration Properties > Optimizations

      Click the image to enlarge it.

  5. Press OK to save settings and recompile the application.

When your application is ready for final delivery, remember to compile it without debug information to reduce overall application size.

See Also

How AQTime Profilers Use Metadata and Debug Information
Profiling .NET Applications - Specifics

Highlight search results