Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

OSX: icpc + Shark = no source browser?

Eric_B_
Beginner
216 Views

Has anyone had any luck using with Shark and the Intel compiler? (XCode 3.1.1 and 11.0.56) I can never seem to get a source browser while examining sampling results within shark. The "callstack data mining" feature doesn't work, either. (I have to turn off callstack mining to show any results at all, it seems.) Of the two, I'm more interested in getting the source browser working.

The code is compiled with -g, which seems to be the only suggestion in the Shark documentation. The executable seems to really have all of the debug symbols -- I can attach to it and step through just fine with the debugger, and all of the symbols have names in Shark, but just no source code...

Suggestions? Something obvious I'm missing?

Thanks,
Eric

0 Kudos
1 Reply
Eric_B_
Beginner
216 Views
FWIW: dsymutil ended up being the key. (In case anyone else needs this.)
0 Kudos
Reply