- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Harshal,
Are you able to view the sources by following the solution provided.
Thanks
Arun Jose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page