Open Stack Traces in an IDE
Many development teams use YouTrack to report and track bugs in their applications. Programmers and testers often analyze exceptions to locate and fix these bugs. When an exception is thrown by the application, the common practice is to retrieve the current stack trace — a report of the active stack frames when the error was encountered — and locate the source of the problem.
There are a few tricks you can use to work with stack traces in YouTrack.
- Testers can paste the stack trace directly into the issue description when they report an issue.
- Customers can copy a stack trace that is displayed as part of an error message and add it to the issue when they report a bug.
- Developers can use the YouTrack REST API to automatically generate issues when the application throws an error and copy the stack trace to the issue.
To learn more about formatting stack traces in issues with Markdown, see Stack Traces.
You can install plugins in your integrated development environment that let you navigate directly from a stack trace in an issue description or comment directly to the problematic source code.
When you format the stack trace using Markdown, references to source code and other issues are set as links. You can click these links to open the target reference in your IDE.
To enable the Open in IDE feature:
- Install the YouTrack Integration Plugin. This plugin is available for IntelliJ IDEA, PhpStorm, PyCharm, RubyMine, WebStorm, AppCode, CLion, Rider, and MPS.
- Install the TeamCity Integration plugin. You do not need to use TeamCity, just install the TeamCity plugin in your IDE. This plugin is available for all IntelliJ Platform IDEs, Eclipse, and Microsoft Visual Studio.