flutter / flutter/devtools

Breakpoint positions are lossy

Ouverte
#4,763 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
observatory migration observatory: missing core functionality P3 screen: debugger
Langage dominant
Dart
Étoiles
1.7k
Forks
404
Merge moyen
6 j 17 h
PR mergées (30 j)
18

Description

Consider the line

```
print(0.toString());
```

both the `print` and `toString` calls can independently have breakpoints.

* DevTools only reports if there is a breakpoint anywhere on the line (lossy reporting of breakpoints set by other precise clients).
* DevTools only allows setting a breakpoint by clicking on the line (lossy setting of breakpoints).

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by reproducing the example with separate breakpoints on the print and toString calls, then inspect how DevTools reports and sets breakpoints. Done means breakpoint locations are preserved and can be independently reported and set rather than reduced to a line-level result.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
dart
Domaine
devtools
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
38/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.