Analyzing Threads

Questions about YourKit .NET Profiler
Locked
ronnie.salvador
Posts: 1
Joined: Mon Apr 23, 2018 7:16 am

Analyzing Threads

Post by ronnie.salvador »

I have a .Net application that creates 20 threads when generating images. And using the .NET Profiler, I would like to identify which threads are blocked and on which part of the code, and also on what is blocking these threads.
Is it possible to achieve this using this product?
Thanks.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Analyzing Threads

Post by Anton Katilin »

It's not possible to get this information explicitly, but you can use:
- CPU profiling, either sampling or tracing: the waiting threads consume time and hence will be presented in the profiling results;
- Threads tab shows samples of thread statuses and stack traces.
Locked