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
Debug Console location metadata doesn't appear when not running in debug mode #4768
Comments
The links on the right not working looks like the issue in #4573 which should be fixed in the latest builds/betas (works for me on a 3.2 build). I think the second one is because VS Code doesn't handle links very well in Test Results (maybe slightly related to microsoft/vscode#150702, as the Peek Error window and Test Results both use terminals). The reason you can click on it when you hold Ctrl, is that that basically lets you click anything (for ex. Edit: Yeah, I verified our |
I am mainly on stable now... so I will just wait until it gets there... Feel free to close the issue unless you'd like to track it Cheers |
Will close as I don't think there's anything to do, but do shout if you see issues after you get the fix for #4573. If microsoft/vscode#157500 gets implemented in VS Code, I'll add support for the other part - though it's probably not worth tracking in an open issue until that happens since sometimes things don't 🙃 |
Hmm, on the surface that doesn't feel right. I would expect we might fail to map I presume you're testing with a simple Dart test, no Flutter involved? |
Yeah, just Dart. The screenshot is from a scratch project where the test file is exactly as the sample code in the original issue. |
Thanks - I can repro and have found the issue. Working on a fix :-) |
…n stack traces We only need a VM Service / thread to map dart/package URIs. We should always map file:// URIs. Fixes Dart-Code/Dart-Code#4768 Change-Id: I19c1fdeae9c9ef66e276121bba22504e8bc9d094 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/330140 Commit-Queue: Ben Konyi <bkonyi@google.com> Reviewed-by: Helin Shiah <helinx@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com>
Fixed by dart-lang/sdk@b706bfc. The fix ships in the SDK debug adapter, so it'll show up in a future SDK release. |
Describe the bug
Issue 1: The URI on the right hand side of the Debug Console doesn't work (screenshot 1)
Issue 2: The URIs printed in the Debug Console and Test Results work but the line number isn't a part of the URI -- i.e. cannot jump to the line using the URIs (screen shot 1 & 2)
Please see the screenshots below:
1- Screenshot 1
2- Screenshot 2
To Reproduce
Steps to reproduce the behavior:
test/some_test.dart
Please complete the following information:
The text was updated successfully, but these errors were encountered: