gaaclarke · GitHub

Seen result:
I can place breakpoints inside of my unit test and execution will pause correctly, but if I put a breakpoint in the framework, say packages/flutter/lib/src/widgets/scroll_physics.dart the breakpoint will not trigger.

Expected result:
I expect breakpoints in the framework to behave like breakpoints in the unit tests.

Seen system:
Dart Code Version: 3.10.1
VSCode: 1.44.2
Operating System: Mac OS X 10.14.6

Flutter Doctor:

[✓] Flutter (Channel unknown, 1.18.0-9.0.pre.66, on Mac OS X 10.14.6 18G2022, locale en-US)
    • Flutter version 1.18.0-9.0.pre.66 at /Users/aaclarke/dev/flutter
    • Framework revision 780d93bf38 (19 hours ago), 2020-05-04 17:18:41 -0700
    • Engine revision 4bcfae82c7
    • Dart version 2.9.0 (build 2.9.0-3.0.dev a69cb6d700)

Notes:

  • If I use the debugger() function in my desired code, execution will pause but the stack trace inside of visual studio code will not include anything beyond the unit test.

Read the original on github.com ↗