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.
链接已复制
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:
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.
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
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
