Visitar URL original
Breakpoints not sticking on extentions in part of pages · Issue #6086 · Dart-Code/Dart-Code · GitHub
Skip to content

Breakpoints not sticking on extentions in part of pages #6086

Description

@stan-at-work

When you have a file called ClassA.dart and another file called ClassAHelper.dart, where ClassAHelper.dart contains an extension on ClassA, breakpoints placed inside private methods of that extension do not trigger.

The breakpoint continuously becomes disabled (grey instead of red), making it impossible to debug code inside the extension's private methods.

Activity

  1. stan-at-work commented on Jun 12, 2026

    @stan-at-work
    Author
    Image
  2. self-assigned this
    on Jun 15, 2026
  3. added this to the v3.138.0 milestone on Jun 15, 2026
  4. added
    in debuggingRelates to the debug adapter or process of running debug sessions
    on Jun 15, 2026
  5. DanTup commented on Jun 15, 2026

    @DanTup
    Member

    @stan-at-work if you remove all the other breakpoints and just add one in the top method, does it work? And then a second one does not?

    Trying to understand if you're seeing dart-lang/sdk#61555

  6. added
    awaiting infoRequires more information from the customer to progress
    on Jun 15, 2026
  7. stan-at-work commented on Jun 15, 2026

    @stan-at-work
    Author

    @stan-at-work if you remove all the other breakpoints and just add one in the top method, does it work? And then a second one does not?

    Trying to understand if you're seeing dart-lang/sdk#61555

    Its random, when i set them like you described they stay gray. Somtimes if i restart my ide they will become red.

    Sometimes i set a couple and when im alt tabbing to my application on that moment some (random) will turn grey.

    When i switch them to a 'debugger():' from 'dart:developer'.

    Its works fine, so it seems it's vscode or the dart lang server.

  8. modified the milestones: v3.138.0, v3.140.0 on Jun 29, 2026
  9. added and removed
    awaiting infoRequires more information from the customer to progress
    on Jul 2, 2026
  10. modified the milestones: v3.140.0, On Deck on Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

blocked on dart / flutterRequires a change in Dart or Flutter to progressin debuggingRelates to the debug adapter or process of running debug sessionsis bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions