Skip to content

[DWDS] Can't set breakpoint in file with circular dependency  #1692

Open
@elliette

Description

@elliette

See flutter/flutter#106727 for details.

How to reproduce:

  • Download the minimal example
  • Rename lib/main_dev.dart to main.dart
  • Follow instructions to debug DWDS with flutter_tools using the example app
  • Try to set a breakpoint on line 21 of account_presentation/controllers/sign_in_controller.dart

Note:

  • When the import that introduces a circular dependency (package:router/router.dart) is commented out, the moduleForSourcemethod correctly returns packages/account_presentation/controllers/sign_in_controller.dart.
  • With the import is included, it incorrectly returns packages/home/pages/welcome_page.dart.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onpackage:dwdstriaged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions