Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5255 讨论

[Intel Inspector][Windows] - 'Sources' column display 'Unknown'

Harshal
员工
2,275 次查看

Trying to perform 'Memory Leak' analysis for a simulation tool using Intel Inspector on Windows.

Issue : Summary has 'Sources' column which displays 'Unknown' in place of file.cpp

Setting up the environment

Target -> Application -> .exe file 

- Source Search -> address to 'src' folder provided

 

Help pointers will be great. Thank you for the time. 

 

标签 (1)
0 项奖励
4 回复数
Michael_T
员工
2,249 次查看

Hello Harshal,

I would suggest to check compiler and linker options used to build this application. Is it built with debug symbols?

Here is link on Inspector recommended build options:

0 项奖励
ArunJ_Intel
主持人
2,247 次查看

Hi 


Could you verify you have used the right compiler flags(eg /Od and /ZI flags) when you built your executable. Please find below a document which explains compiler settings required in detail.


https://software.intel.com/content/www/us/en/develop/articles/compiler-settings-for-memory-error-analysis-in-intel-inspector-xe.html



If you are still facing issues could you please try profiling the memory leak sample available as a part of Inspector installation and let us know if you are able to locate sources for the sample.

The sample would be available in the below location.

{INSPECTOR_INSTALLED_LOCATION}\latest\samples\en\C++\banner.zip\banner\memoryLeak


INSPECTOR_INSTALLED_LOCATION is the path to installation for eg "C:\Program Files (x86)\Intel\oneAPI\inspector"




Thanks

Arun Jose


0 项奖励
ArunJ_Intel
主持人
2,233 次查看

Hi Harshal,


Are you able to view the sources by following the solution provided.


Thanks

Arun Jose


0 项奖励
ArunJ_Intel
主持人
2,212 次查看

Hi,


As we have not heard back from you for sometime we assume your issue is resolved.

If you need any additional information, please submit a new question as this thread will no longer be monitored.


Thanks

Arun


0 项奖励
回复