JetBrains interview question

How will you debug freezing descktop application on the Unix system?