Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Background

I am looking for Spy++. I believe it should be included in Visual Studio 2017 since the latest Visual Studio help content references it: https://docs.microsoft.com/en-us/visualstudio/debugger/introducing-spy-increment.

Problem

I have just done a clean install of Visual Studio 2017, but Spy++ does not exist in the file system. I can't find it.

Question

So I guess I need to select certain "workflows" when installing Visual Studio to have Spy++ installed? Anyone know if this is correct? And if so, which workflow/feature do I need?

Setup

  • Windows 10
  • Visual Studio Professional 2017 15.1 (26403.3)
like image 252
Sam Avatar asked Apr 12 '17 04:04

Sam


People also ask

Where is Spy ++ installed?

Typically, the path to this folder is .. \Visual Studio installation folder\Common7\Tools\.

How do I install spy ++?

To find it, you'll need to modify your Visual Studio 2019 installation by going to the menu and clicking on Tools > Modify . The Visual Studio Installer should appear. Browse to the Individual Components tab and search for C++ core features. Check the C++ core features option and choose Modify.

How can I get Visual Studio 2017 for free?

Visual Studio 2017 and other Products If you don't have a Visual Studio Subscription, you can create one for free by clicking on “Create a new Microsoft account” on the login page.

What is Spy ++ used for?

Spy++ lets you perform the following tasks: Display a graphical tree of relationships among system objects. These include processes, threads, and windows. Search for specified windows, threads, processes, or messages.


2 Answers

  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 
like image 168
Sam Avatar answered Oct 10 '22 10:10

Sam


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

like image 34
James Barrass Avatar answered Oct 10 '22 12:10

James Barrass