Profiling External Executables
The Visual Studio profiler is not limited to solutions opened in the IDE, but it can be successfully used for profiling standalone executables. Basically you are allowed profiling also Win32 executables over managed ones. To demonstrate how this works, close the solution opened in Visual Studio (if any) ensuring that nothing is available in Solution Explorer. Now start the Performance Wizard following the steps shown in the previous section until you get the result shown in Figure 58.5. The next step is selecting the An Executable (.EXE file) option. When selected this, you need to specify an executable to analyze. Just for demo purposes, select the executable generated in the previous example. Figure 58.16 shows ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access