DBeaver Documentation


Making a thread dump

Sometimes (due to some bug) DBeaver UI hangs, freezes, or works incorrectly. It is usually impossible to find the reason for such an issue without a thread dump. A thread dump is information about the internal execution state of the Java program. To get thread dump:

Mac and Linux

Run the following on your terminal:

jstack $(pgrep dbeaver) > ~/dbeaver-thread-dump.txt


Open the task manager (CTRL+SHIFT+ESC), find DBeaver in the process list, and copy its process ID value. In Windows 8+ you need to switch to the "Details" tab.

Open the command prompt (Win+R and type cmd, then press ENTER), run the following command:

jstack PID > thread-dump.txt

The produced file will be located in the user's home folder, e.g. C:\Users\Username.

Now you can attach thread-dump.txt to the GitHub issue.

Did we resolve your issue?