Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4995 Discussions

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

Harshal
Employee
1,283 Views

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. 

 

Labels (1)
0 Kudos
4 Replies
Michael_T
Employee
1,257 Views

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 Kudos
ArunJ_Intel
Moderator
1,255 Views

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 Kudos
ArunJ_Intel
Moderator
1,241 Views

Hi Harshal,


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


Thanks

Arun Jose


0 Kudos
ArunJ_Intel
Moderator
1,220 Views

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 Kudos
Reply