Did you know – “Attach to Process” dialog window now has a “Process Filtering” option in Visual Studio 2017 ?

Did you know – “Attach to Process” dialog window now has a “Process Filtering” option in Visual Studio 2017 ?

During debugging in Visual Studio, attaching to a process is a very common activity, and as a developer, we are all familiar with it. We can attach the Visual Studio debugger to a running process by navigating from Debug > Attach to Process (Ctrl+Alt+P) and then select the specific process from the Attach to Process dialog box.

Now, when you have several processes listed in the Attach to Process dialog window, it became quite difficult to find out the process that you are looking for. Either you need scroll through the list or sort it based on name to find them easily. With Visual Studio 2017, it is now easier and fast with the Process Filter option.  By specifying the name of the process, you can easily filter the processes you are looking for.  When you see your required process is there in the list, go ahead and attach!

Filter Process - Attach To Process Window
Filter Process – Attach To Process Window

This could be a repetitive process during the development and debug of your application. You may need to stop the debugging, then attach again next time with some modification in the code. Visual Studio simplified this process attaching mechanism by introducing “Reattach to Process” (Shift+Alt+P) to attach it again –  which we discussed a couple of weeks back.  – Simplified Process Attaching – Reattach to Process in Visual Studio 2017

Hope this helps!

 

 

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

2 Comments to “Did you know – “Attach to Process” dialog window now has a “Process Filtering” option in Visual Studio 2017 ?”

Comments are closed.