简体   繁体   English

WebStorm中Dart的堆栈跟踪未与代码链接

[英]Stack Trace for Dart in WebStorm not linked with code

The lines in stack trace for a Dart application being developed in latest WebStorm EAP (141.224) are not linked with the location (line and position) in my code. 在最新的WebStorm EAP(141.224)中开发的Dart应用程序的堆栈跟踪中的行未与我的代码中的位置(行和位置)链接。 It does have links for the core Dart library. 它确实具有核心Dart库的链接。 The screenshot below is an example. 下面的屏幕截图是一个示例。

Is there a setting that will allow me to do this, or this is simply a bug in the EAP version? 是否有允许我执行此操作的设置,或者这仅仅是EAP版本中的错误?

WebStorm控制台面板中的屏幕截图

Update: After using the stack_trace package the readability is improved but the links to my code are still missing. 更新:使用stack_trace软件包后,可读性得到了改善,但仍然缺少指向我的代码的链接。 See below. 见下文。

使用stack_trace软件包后,WebStorm控制台面板中的屏幕截图

Update 2: There is a bug report about closely related issue but it is reported as fixed: https://youtrack.jetbrains.com/issue/WEB-13532 更新2:有一个与紧密相关的问题的错误报告,但已报告为已修复: https : //youtrack.jetbrains.com/issue/WEB-13532

This is because by default the stack traces are not connected through async calls. 这是因为默认情况下,堆栈跟踪不通过异步调用连接。

See How to get the full stack trace for async execution for a solution/workaround. 请参阅如何获取用于异步执行的完整堆栈跟踪以获取解决方案/解决方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM