This topic explains how to prepare ASP.NET applications before profiling them in AQTime.
To add debug information to your ASP.NET application, follow these steps:
- Create the Web.config file in your project folder (if it is not there yet) and set the debug attribute of the
compilation
element to true in the file:XML
...
<compilation debug="true" />
... - Compile your ASP.NET application with debug information. The actions you should perform in this step depend on the project type of your ASP.NET application and on the tool you are using to create and compile your application.
- If you create an ASP.NET Web Site project, you need just to build your project or publish it to obtain the application modules with debug information. That is, you do not need to change any additional project settings before compiling the project.
- If you create an ASP.NET Web Application project, you need to change some additional project settings before compiling the application with debug information. The actions to be performed depend on the tool you are using. For more details, see the topics listed below:
Compiler Settings for Microsoft Visual C# 2005 - 2017
Compiler Settings for Microsoft Visual C# .NET
Compiler Settings for Microsoft Visual Basic 2005 - 2017
Compiler Settings for Microsoft Visual Basic .NET
Compiler Settings for Microsoft Visual J# 2005
Compiler Settings for Microsoft Visual J# .NET
Compiler Settings for Borland C#Builder 2006
Compiler Settings for Borland C#Builder
Compiler Settings for Borland Delphi 2006 for .NET
When your application is ready for final delivery, remember to compile it without debug information to reduce the overall size of the application.
See Also
How AQTime Profilers Use Metadata and Debug Information
Profiling ASP.NET Applications