Edit

Share via


Start Spy++

You can start Spy++ either from Visual Studio or at a command prompt.

When you start Spy++, if a message appears requesting permission to make changes to the computer, select Yes.

Note

You can run only one instance of Spy++. If you try to start a second instance, the current running instance gets the focus.

Prerequisites

Spy++ requires the following components. You can select these components from the Visual Studio Installer by selecting the Individual Components tab, and then selecting the following components:

  • Under Debugging and testing, select C++ profiling tools.
  • Under Development activities, select C++ core features.

If you make any changes in the Visual Studio Installer, follow the prompts to complete installation of these components.

Start Spy++ from Visual Studio

On the Tools menu, select Spy++.

Because Spy++ runs independently, after you start the tool, you can close Visual Studio.

Note

When you log messages with Spy++, you might notice the operating system performing more slowly.

Start Spy++ at a command prompt

  1. Open a Command Prompt window, and change directories to the folder that contains the spyxx.exe file. Typically, the path to this folder is ..\<Visual Studio installation folder>\Common7\Tools\.

  2. Enter spyxx.exe or, for the 64-bit version, enter spyxx_amd64.exe.

For more information on the 32-bit and 64-bit version of Spy++, see 64-bit operating systems.