PyCharm 2018.3 Help

Analyzing External Stack Traces

Overview

You might want to analyze exceptions received by someone else, for example, QA engineers, or investigate a deadlock, or a hang-problem. Unlike the exceptions that you get in the debug mode or when running unit tests, these exceptions do not have links that help you navigate to the corresponding locations in the source code.

With PyCharm, you can simply copy an exception or full thread dump, paste it to the Stack Trace Analyzer, explore information, and navigate to the corresponding source code.

Analyzing external stack trace

To analyze an external stack trace or thread dump

  1. On the main menu, choose. Tools | Analyze Stack Trace.

  2. In the Analyze Stack Trace dialog box that opens, paste the external stack trace or thread dump into the Put a thread dump here: text area.

  3. Click OK. The stack trace is displayed in the Run tool window.

  4. In the Run tool window, scroll to the stacktrace line you need and click a link to the source file. The source file opens in the editor.

Last modified: 14 December 2018

See Also