- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Howdy,
I've created an application TestDriver.exe which calls Foo.lib. The lib does the bulk of the computation. I would like very much to drill down to the source view in Vtune, however Vtune complains that no source information is available. I assume that this is because Foo.lib does not create a .pdb file.
Using VS2003, how do I give Vtune the information it needs for source view?
Thanks!
-Ramy
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Symbol generation (-Zi or equivalent) would need to be on for compilation of each of the functions involved, for creation of the .lib, and for the final link. As you suggest, there should have been a .pdb for the .lib, as well as one for the final .exe. If you compiled using Microsoft C++, there should be a .pdb for each .obj, and those would be required when building the .lib. If all these .pdb files were present when required during the build, and VTune is unable to find them, it should pop up a window asking you to point them out. Only if you make an error in that window should you have to use the Options, File associations menu, to undo a wrong association.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page