Why the Source Code May Not Be Displayed

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

If AQTime is integrated into Microsoft Visual Studio, AQTime’s Editor panel is not available. You can view the source code of the profiled modules in the Code Editor, which is Visual Studio’s native text and code editor. AQTime extends the functionality of the Code Editor to provide interaction with AQTime panels and to display the profiling results along with the source code.

If AQTime is integrated into Embarcadero RAD Studio, AQTime’s Editor panel is not available. You can view the source code in Embarcadero RAD Studio’s native text and code editor. AQTime extends the functionality of RAD Studio’s editor to provide interaction with AQTime panels and to display profiling results along with the source code.

The Editor panel updates its contents to display the source code for a routine you double-click in the Setup, Summary, Report, Details, Call Graph, Call Tree, PE Reader or Event View panel.

The Editor displays source code unless the routine’s source file cannot be found on the search path. The application sources may not be displayed in the following cases --

The Code Editor may not update its contents to display the source code of a routine you click in the Report panel or in another panel, if the routine’s source file cannot be found on the search file. The application sources may not be displayed in the following cases --

The RAD Studio Editor may not update its contents to display the source code of a routine you click in the Report panel or in another panel, if the routine’s source file cannot be found on the search file. The application sources may not be displayed in the following cases --

  • Your executable was not compiled with debug information: both managed and unmanaged modules must be compiled with debug information in order for AQTime to be able to find information on the routine’s source file. See How AQTime Profilers Use Metadata and Debug Information. To solve the problem, please compile your application with debug information.

  • The debug info file is absent. This may happen, for instance, if you compiled your application with debug information, but added another file (it has the same name, but does not include debug information) to your AQTime project. Please make certain that you included the appropriate module.

  • The source file is not displayed when you select a class in the Report, Details or another AQTime panel. This happens because debug information does not contain information about source files for classes.

  • The source file has been removed or it has never been created (some compilers, for instance, Visual Basic .NET, can compile the executable without saving its sources to a disk file).

  • The source file cannot be found in the search path. To solve the problem, you can use two links - Project Search Directories and Search Directory (AQTime shows them when it cannot find source files). A click on these links opens the Project Search Directories and Search Directory dialogs where you can specify the path to the desired file.

  • The source file cannot be found in the search path. To specify the search path, use the Project Search Directories or Search Directory dialog.

  • The source file cannot be found in the search path. To specify the search path, use the Project Search Directories or Search Directory dialog.

See Also

Editor Panel
Editor Panel Settings
Working with the Editor Panel

Highlight search results