简体   繁体   中英

Sampling Profiler with Delphi XE2

I have some problems in configuring Sampling Profiler ( http://www.delphitools.info/samplingprofiler/ )

I compiled a test application in debug build configuration, the relevant detailed map file is generated and use debug .dcus option is set to true. Here below the screenshots of the compiler configuration.

在此输入图像描述在此输入图像描述

I ran the application from Sampling Profiler with the configuration here below and after having performed a few tasks I stopped the profiling. 在此输入图像描述

I cannot see any of the lines I coded in the reports and I can see very few units names I coded. The vast majority of the units shown are third part components I use.

在此输入图像描述

Where am I doing wrong ?

It seems that Sampling Profiler does not pick up the browsing path correctly as selected (I have the same issue with a project in XE).

So until that will get fixed you might add the source paths manually ("Custom Source Files Search Path" below the drop down list for the Delphi versions)

However in the function you selected in your screenshot it will not show the correct code because the function is located in the getmem.inc file which is included in the System.pas .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM