Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Diagnostic Tools - how to change selected process?

I'm using Diagnostic Tools in Visual Studio 2015 debugging SharePoint Web Part.

I'm attached to a few w3wp.exe processes and the window displays this message:

Multiple processes are being debugged, but this window is only showing data for w3wp.exe (PID: 1208).

Multiple processes are being debugged, but this window is only showing data for w3wp.exe (PID: 1208).

That's fine but how do I change the process which it's showing?

like image 491
Mariusz Ignatowicz Avatar asked Oct 15 '15 12:10

Mariusz Ignatowicz


People also ask

How do I add multiple processes in Visual Studio?

With the app running, select Debug > Attach to Process. In the Attach to Process dialog box, select the process from the Available Processes list, and then select Attach.

How do I use the diagnostic tool in Visual Studio?

When you start debugging in Visual Studio by selecting Debug > Start Debugging, or pressing F5, the Diagnostic Tools window appears by default. To open it manually, select Debug > Windows > Show Diagnostic Tools. The Diagnostic Tools window shows information about events, process memory, and CPU usage.

How do I stop a process in Visual Studio?

If you're building, try hitting CTRL-Break.


1 Answers

It will analyze your selected startup project. If you have multiple startup projects, set the one you want to analyze at the top of the list.

like image 93
Erik Särner Avatar answered Oct 02 '22 16:10

Erik Särner