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

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

Ritratto di Casper Kirkegaard

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)

 

 

3 post / 0 new
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione
Ritratto di MrAnderson (Intel)

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).

Regards, MrAnderson
Ritratto di Casper Kirkegaard

Thanks :-)

Ritratto di Casper Kirkegaard

Thanks :-)

Accedere per lasciare un commento.