Thread dumps

Last modified: 29 November 2022

Thread dumps is a basic yet powerful tool to examine the state of an application at a particular instant. This lets us investigate execution and synchronization issues

The main advantage of thread dumps is their simplicity. You can create them for any process (no agents are needed). Their output is plain text, meaning that anyone can read them without any special software.

The stack traces for all threads open in a new Profiler tool window tab. This view is customizable: you can apply filters and sorting, merge similar threads, and partially collapse the stack traces.

If you want to inspect a class that appears in the stack trace, you can navigate to it right from the thread dump.

If you want to save the thread dump for later inspection or send it to someone else, you can export it as a text file.