5

I'm not sure why but my threads window in Visual Studio is empty? Is there a way I can see all my threads whilst debug? I'm not even sure why it isn't showing any, I have around 5 threads running in my application.

example

5
  • 2
    Set a breakpoint Commented Jan 23, 2018 at 11:19
  • Where? I'm using the threads window because I can't find the threads in the first place, I have over 1,000 files in my project. Commented Jan 23, 2018 at 11:19
  • When you took the screenshot, was your app still running, or had you hit "pause"? Commented Jan 23, 2018 at 11:20
  • It was in debugging mode, I never hit pause. Commented Jan 23, 2018 at 11:21
  • Mine stopped working for a while and returned I assumed something at work which blocks a lot of admin access and stuff had interfered with it Commented Jan 23, 2018 at 11:26

1 Answer 1

13

You need to pause your application first

You can either set a breakpoint and wait until it gets hit, or click the Pause button to break immediately.

https://msdn.microsoft.com/en-us/library/w15yf86f.aspx

In the Threads window, you can examine and work with threads in the application that you are debugging.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.