Profiling .NET Managed Code in Visual Studio

Related Topics

 

1.    Open a managed project or solution in Microsoft Visual Studio.

2.    Select PurifyPlus > Quantify > Engage Quantify Integration.

3.    Run the program as you normally do to profile it.

Notes:

§      Quantify's integration is not automatically turned on. You must turn it on, or engage it, after you start Visual Studio. If you are profiling native-compiled code in Visual Studio, use the Run Program dialog box to launch your program, instead of engaging the integration.

§      During installation, a PurifyPlus menu and submenus are automatically added to Visual Studio. The first time you use Quantify in Visual Studio, display the Quantify menu by selecting PurifyPlus > Quantify from the Visual Studio menu.

§      You can use the Quantify menu commands or tools to change Quantify settings and preferences for running the program.

§      If you run the program you're profiling under the debugger, do not set breakpoints or otherwise stop program execution. If you do break in the debugger while the program is running, Quantify continues to collect data, which can produce invalid timing results.

§      You can easily switch between Quantify's windows by selecting PurifyPlus > Quantify > View and then the appropriate command, or by right-clicking in any data analysis window and selecting Switch To and the appropriate command from the shortcut menu.

§      For information on the recommended settings for Visual Studio, click images\shortcut.gif.

(C) Copyright IBM Corporation 1993, 2009.