-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack trace error locations should be clickable links to source location. #3733
Comments
In order to repro this, you're just opening |
hmm:
I may need to work a bit more on a repro... |
Ah, looks much better! dart:ui/hooks.dart may be a different issue (or a more specific one). The way that dart:ui is contributed to the SDK is indirect, and likely not understood by our url regex code. |
cc: @pq |
Any updates on this? It would be really helpful to be able to click on links instead of all the copy/pasting I currently do. |
@gspencergoog - I assume that some of the clicking link issues were resolved in the last release? If there are remaining issues, can you include the details in this issue? @helin24 - I did find one additional unlinked issue. When running a flutter web app, the stack traces is generates aren't linked.
This stacktrace is (I believe) written by DDC. To address this, we can either improve our stack trace regexs to also match this format, or adjust the output of DDC to better match one of the existing Dart formats (the VM, package:test, |
Yes, this is looking much better, and it's really so nice to be able to just jump right to the problem without having to copy/paste or open the file and retype the line number. I haven't run into any stack traces that aren't linked recently. |
Hey, @helin24, are you still working on this issue? 😃 |
@dratushnyy thanks for the reminder! I actually made some changes to flutter related tot his but haven't made additional changes within flutter-intellij. Did you find an additional case of this happening? |
@helin24 no, not really, I was just curious, I will pick up a different one 😃 |
Ah got it! I'm not actively working on this, so feel free to take it if you're looking for a starter issue. |
I think this one has been addressed (we had a few related issues). I'll close this out. |
Hey, has this bug been fixed? I still can't click on stack trace locations while running flutter web application 😞 |
The bug is still here. Just create the default "counter" project, add a "throw", and the line in the stack trace is not clickable. Please reopen. |
i have this issue in android studio version |
my issue solved by updating dart plugin to newer version |
@AlexandrLevin-SelfTable I'm reproducing this error for flutter web. Fixing this might be a little different so I'm opening #6131 @Z6P0 Are you also using flutter web? If not, can you post a screenshot of what you're seeing and what version of the Flutter plugin you're using? |
@helin24 Apparently it was a problem with the Dart plugin: I updated it, and now the links are back! |
Okay I see, I will close this issue and keep the flutter web one open. Thanks for updating! |
In the stack trace below, there are only a few things that are highlighted as clickable links, and it would be really helpful if all of the file locations were clickable. (This is just an example stack trace: this happens a lot to me.)
This is on the master branch of Flutter:
The text was updated successfully, but these errors were encountered: