AdmiralMyxtaR
AdmiralMyxtaR

Reputation: 95

How to get function names instad of addresses in Visual Studio's CPU profiling?

I'm making a game using SDL2, and I want to track down bottlenecks in perfomance. In CPU profiling, I can see the CPU usage of my functions, yet all SDL stuff is marked as SDL2.dll!0x000..., which isn't helpful. How to make it display the function names instead of addresses?

Upvotes: 2

Views: 1324

Answers (1)

Luca Cappa
Luca Cappa

Reputation: 1999

You could either:

  • assure you have the .pdb files along with the SDL dll files (in the same directory, side by side);
  • add an entry to the Symbol Location Diretories list (Options->Debugging->Symbols) that points to a directory containing all the SDL related .pdb files.

Upvotes: 1

Related Questions