Report usage analytics for Dart run and debug sessions#478
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request implements analytics tracking for run and debug sessions across various Dart run configurations (command line, remote debug, webdev, and tests) using a new recordRunOrDebugSession helper. The review feedback correctly identifies that the newly added DebugSessionData class and its companion factory method forDebugSession are unused and redundant, as the generic SessionData class can handle both session types.
pq
approved these changes
Jun 22, 2026
…chanisms Add telemetry reporting to all Dart run configurations to track how often users initiate Run or Debug sessions across mechanisms: standard CLI apps, Dart tests, remote attaches, and Webdev sessions.
|
autosubmit label was removed for flutter/dart-intellij-third-party/478, because - The status or check suite build-plugin has failed. Please fix the issues identified (or deflake) before re-applying this label. |
auto-submit Bot
pushed a commit
to flutter/flutter-intellij
that referenced
this pull request
Jun 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I've been looking into using JetBrains DAP, which would allow us to remove usages of the legacy analysis server for file mapping (this functionality does not exist in LSP analysis server because debug adapter in Dart SDK takes care of it). DAP seems promising, but I also want to check the usage of the current run/debug mechanisms. Then if we transition, we will be able to check whether we are getting equivalent usage, and the relative numbers of users may also inform how much time we spend on verifying DAP setups before releasing.