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 ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.