Thread Concurrency Visualization
In this section:
- Starting the concurrency visualization session
- Concurrency visualization for the applications that use asyncio
- Working with the Concurrent Activities Diagram tool window
- Graphs' context menu
Starting the concurrency visualization session
- Do one of the following:
Concurrency visualization for the applications that use asyncio
Concurrency visualization also works well with the
asyncio module introduced in
Working with the Concurrent Activities Diagram tool window
- The left-hand side of the tool window contains the toolbox with the following icons:
- - click this button to terminate the running process.
- - click these buttons to increase or decrease scale of the diagram.
- - when the diagram is drawn for a long time and output is too long, then a scrollbar appears. When this button is pressed, this scrollbar is automatically scrolled to the end.
- - click this button to close the tool window.
- Next to the toolbox, there is the list of thread names; the right-hand side shows the waiting time for each thread:
- Different states are marked with different colors. The legend is shown in the window.
- To zoom in and out, use the magnifier glass icons in the toolbox, or Ctrl+mouse wheel.
- To navigate to a particular stack frame, click the diagram.
Graphs' context menu
Right-clicking on a graph invokes a context menu with the following commands:
|Show related locks||This command highlights on a graph all the thread expectations, which work with the same lock where a context menu has been invoked.|
|Hide related locks||This command hides the highlighting described above.|
Last modified: 23 November 2016