Capturing and analyzing thread information
Now we want to see how we can deal with thread debugging. The traditional approach of setting breakpoints and waiting until a thread is called will not work well here, since a multithreaded application might have several threads running at the same time and independently of each other. Hence, we want to visualize and access them independently.
Select a process on the left-hand side of the list and click the icon. If now you click in the threads section on the right-hand side, you will see how this section has been updated with information regarding the threads of the current process:
Note
Some developers are confused about what processes and threads are, so just in case: a process provides the required resources to execute a program (virtual address space, executable code, security context, and so on). A process is the instance of execution of a process (also referred to as a task in some contexts). Several processes can be associated with the same...