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

By | August 7, 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!

 

 

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

  1. Pingback: Dew Drop - August 7, 2017 (#2536) - Morning Dew

  2. O.Nasri

    Process Filtering is good feature but before of this module we could search to find process by typing process name.

Leave a Reply

Your email address will not be published. Required fields are marked *

Verify Captcha * Time limit is exhausted. Please reload the CAPTCHA.