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

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

PKM
Beginner
325 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
325 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).

0 Kudos
PKM
Beginner
325 Views

Thanks :-)

0 Kudos
PKM
Beginner
325 Views

Thanks :-)

0 Kudos
Reply