-
Notifications
You must be signed in to change notification settings - Fork 71
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
Show a warning in the Dart Debug Extension when a user tries to debug a sharded Dart app #1462
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Elliott!
To make sure we track the change in our published versions correctly, could you please:
- add a test - maybe
dwds/test/debug_extension_test.dart
can help? - add a CHANGELOG.md message
- could you please update the version in pubspec.yaml to the new dev version (ie 11.5.1-dev)
- run
dart run build_runner build
in dwds directory (using the latest dart, I normally use the latest dev but stable is ok too)
Everything should be updated now, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Just a few minor comments...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
When we detect that a Dart application is sharded, the Dart Debug Extension turns red. Clicking on it will open the following alert:
![Screen Shot 2021-12-06 at 4 51 22 PM](https://user-images.githubusercontent.com/21270878/144946744-15d4e789-ff29-4ee3-b5c2-0a3ffb673f96.png)