Analyzers
Community support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
4819 Discussions

how to inspect source from a profile run of a "release" compilation?

PKM
Beginner
219 Views

Hello

Any hints to how you link a profile run of a "release" compilation to its source code? I have tried enabling debug information for the release compiler settings, but it doesn't seem to do the trick ... It works fine when I do a run for a "debug" compilation ...

Any help is greatly appreciated ...

(Parallel Studio XE 2013 on Windows)

 

 

0 Kudos
3 Replies
David_A_Intel1
Employee
219 Views

Hi Casper:

You have to make sure the linker settings are enabling debug info, as well.  Basically, assuming Visual Studio*, see the Linker -> Debugging tab, and enable Generate Debug Info.  Generate Program Database File should also be configured (should do it automatically when you enable Debug Info).

PKM
Beginner
219 Views

Thanks :-)

PKM
Beginner
219 Views

Thanks :-)

Reply