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.
- 2Set a breakpointTheGeneral– TheGeneral2018-01-23 11:19:13 +00:00Commented 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.ropuxil– ropuxil2018-01-23 11:19:37 +00:00Commented Jan 23, 2018 at 11:19
- When you took the screenshot, was your app still running, or had you hit "pause"?Jon Skeet– Jon Skeet2018-01-23 11:20:38 +00:00Commented Jan 23, 2018 at 11:20
- It was in debugging mode, I never hit pause.ropuxil– ropuxil2018-01-23 11:21:39 +00:00Commented 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 itBugFinder– BugFinder2018-01-23 11:26:48 +00:00Commented Jan 23, 2018 at 11:26
Add a comment |
1 Answer
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.
