flutter / flutter/devtools

Debugger doesn't open test file by default when debugging a test

未关闭
#5,748 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
P2 screen: debugger
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

When running `flutter test test/shared/about_dialog_test.dart --start-paused` and opening the DevTools link that is output to console, the Debugger page does not load the about_dialog_test.dart script by default, which is what I would have expected:

![Screenshot 2023-05-03 at 9 28 20 AM](https://user-images.githubusercontent.com/43759233/236052492-4c74e671-b54c-4a3c-a46f-d82401365db0.png)

@elliette

贡献指南

打开贡献指南

调研方向

使用 `flutter test test/shared/about_dialog_test.dart --start-paused` 复现该问题,然后检查 DevTools Debugger 页面及其对所选测试脚本的处理方式。完成标准是从此工作流启动时,Debugger 默认打开 `about_dialog_test.dart`。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart, devtools
领域
devtools
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。