dotTrace 2017.1 Help

Threads Tree

The Threads Tree view serves many purposes. Typical use cases include the following:

  • View what kind of threads are being spawned by your application.
  • Monitor all threads and their activities.
  • Analyze each thread's activity.
  • Find and examine critical execution paths.

To open the Threads Tree view:

  • Click on the corresponding icon /help/img/dotnet/2017.1/ThemedIcon.ModeStraightViewPerThread.Screen.[-].png on the left panel.

The Threads Tree view lists all threads in your application. They are sorted by their execution time. Each thread is identified by its name or ID. The main thread is marked with the /help/img/dotnet/2017.1/Main_Thread.png icon. The finalizer thread is marked with the /help/img/dotnet/2017.1/ThemedIcon.JetBrainsProfilerUIResourcesMeasureControllerStopDrop.Screen.[-].png icon. Other threads are worker threads. If a thread pumps messages, it has the /help/img/dotnet/2017.1/Thread_with_Message.png icon, otherwise not.

/help/img/dotnet/2017.1/Reference__Snapshot_Views__Threads_Tree__All_Threads.png

You can expand a thread node and search the call stack for expensive functions. The appearance of this view depends on the current filters settings.

/help/img/dotnet/2017.1/Reference__Snapshot_Views__Threads_Tree.png

Each node in the Thread Tree view contains the following information:

/help/img/dotnet/2017.1/Reference__Snapshot_Views__Threads_Tree__Line.png
  1. The percentage of time spent in this call related to time spent executing the thread.
  2. Short name of the function being called.
  3. Total time spent in this function and its subtree.
  4. Number of calls made in this call stack.
  5. Full name of the called function.

Last modified: 24 August 2017

See Also