This topic explains how to prepare applications created with Microsoft Visual C# .NET for AQTime. To learn how to prepare applications created with Visual C# 2005 - 2017 see Compiler Settings for Microsoft Visual C# 2005 - 2017.
To add debug information to your Visual C# .NET application, follow these steps:
-
Open your project in Visual Studio .NET.
-
Select Build > Configuration Manager from the main menu. This will open the Configuration Manager dialog. Select the Debug configuration for your project:
Close the dialog.
-
Right-click the project in the Solution Explorer and select Properties from the context menu. This will open the Property Pages dialog.
-
In the dialog, open the Configuration Properties > Build page and select Active (Debug) from the Configuration dropdown list at the top of the dialog. Then, in the Configuration Properties > Build page, turn on the Generate debugging information option and disable Optimize Code.
-
Press OK to save settings. 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
Preparing Applications for Profiling
How AQTime Profilers Use Metadata and Debug Information
Compiler Settings for Microsoft Visual C# 2005 - 2017
Compiler Settings for .NET Applications