Click here to Skip to main content
13,298,551 members (39,292 online)
Click here to Skip to main content
Add your own
alternative version


1 bookmarked
Posted 28 Jun 2012

Just My Threads

, 28 Jun 2012
Rate this:
Please Sign up or sign in to vote.
How to display only threads related to your application in Threads Windows

Let's say your application is creating lot of threads. You can inspect these threads in Threads windows in Visual Studio.

Problem is that there are system related threads that are not directly related to your application and it will be nice if those un-related threads could be filtered out of this window. In order to do this, you first click on the Flag icon. This will bring up a menu with one of the option Flag Just My Code as shown in figure below. 

When you click this option, in the Threads window all your application related threads will by flagged as shown below. 

Now you can simply use the Group by option and choose to do the grouping by Flag Indicator.

At this point, you can only leave Flagged Threads group as expanded and focus on the threads related to your application.

I hope you will find this tip helpful.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Kamran Bilgrami
Canada Canada
Kamran Bilgrami is a seasoned software developer with background in designing mission critical applications for carrier grade telecom networks. More recently he is involved in design & development of real-time biometric based security solutions. His areas of interest include .NET, software security, mathematical modeling and patterns.

He blogs regularly at

You may also be interested in...


Comments and Discussions

QuestionNo Image Displayed Pin
Member 876577928-Jun-12 19:22
memberMember 876577928-Jun-12 19:22 
AnswerRe: No Image Displayed Pin
Kamran Bilgrami28-Jun-12 19:31
memberKamran Bilgrami28-Jun-12 19:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.171207.1 | Last Updated 29 Jun 2012
Article Copyright 2012 by Kamran Bilgrami
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid