简体   繁体   中英

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. It does have links for the core Dart library. 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?

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

Update: After using the stack_trace package the readability is improved but the links to my code are still missing. 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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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