FMorschel · GitHub

Describe the bug
After #5904 we should always see gutter icons changing when a new debug session starts, but that is not always the case.

It does work if you use the context menu options from the gutter icon and from the Testing sidebar.

To Reproduce
Steps to reproduce the behavior:

  1. Open pkg/analysis_server/test/src/services/correction/fix/add_static_test.dart in Dart SDK
  2. Run the file with F5
  3. Add a breakpoint on line 23
  4. Run the file with F5 again or by using the code lenses
  5. See the other icons did not update

Expected behavior
For the icons representing the other tests to update.

Screenshots

Image

Please complete the following information:

Workspace Environment
Dart Code extension: 3.129.20260224
Flutter extension: 3.129.20260202 (activated)
App: Visual Studio Code
App Host: desktop
Version: win 1.109.5
Workspace type: Dart (LSP) (Multiroot)
Workspace name: sdk (Workspace)
Dart (3.12.0-edge.265b75c74e46e1a6a1543f261633d92e264082e1): C:\Users\felip_0vh5fa6\dart
Flutter (3.38.7): C:\Users\felip_0vh5fa6\.puro\envs\stable\flutter (No device)
Output from 'dart info'

C:\Users\felip_0vh5fa6\dart\bin\dart.exe info

If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.

General info

  • Dart 3.12.0-edge.265b75c74e46e1a6a1543f261633d92e264082e1 (main) (Mon Feb 23 08:49:29 2026 -0800) on "windows_x64"
  • on windows / "Windows 11 Pro" 10.0 (Build 26200)
  • locale is pt-BR

Process info

Memory CPU Elapsed time Command line
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dart.exe
0 MB -- dartvm.exe

Read the original on github.com ↗