How do I get Spy++ with Visual Studio 2017?

Solution 1:

  1. Open Visual Studio Installer
  2. Note down which edition of Visual Studio you have installed (eg Professional or Community)
  3. Click Modify
  4. Click Individual Components
  5. Locate the Development activities heading
  6. Check the Visual Studio C++ core features component: Location
  7. Click Modify
  8. Spy++ might now reside in the following paths, once you substitute the {edition} placeholder with your Visual Studio edition

    C:\Program Files (x86)\Microsoft Visual Studio\2017\{edition}\Common7\Tools\spyxx.exe
    C:\Program Files (x86)\Microsoft Visual Studio\2017\{edition}\Common7\Tools\spyxx_amd64.exe
    

Solution 2:

It's part of the C++ profiling tools component.