How could I show more external codes when I use performance profiler to analyze CPU usage

Taotao Sun 20 Reputation points Microsoft Employee

I want to do a performance profiler using visual studio. And after I get a diagsession. I clicked the most cpu cost functions repeated. After a few times, I get a stack when I could not click again. The stack is show in the picture. User's image

And as the picture showed, I have unchecked the "Enable just my code".
User's image

Could you tell me how to show the code stack for the external code instead of "Bottom of call stack"? Thank you very much.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,123 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Quanmao LIU 0 Reputation points Microsoft Employee

    Was it build with debugging info? - should not use optimization to avoid removing source code and symbol info.

    0 comments No comments