Closed
Description
Undebuggable Stack Frame Popup Bug
see reproducible example here: https://github.com/pattobrien/undebuggable_stack_frame#undebuggable-stack-frame-popup-bug
Steps to Reproduce
- Create a Dart package with Flutter SDK as a dependency.
- Set Dart Code debug option to 'debug my code + packages + SDK'.
- Run a test that fails an assertion.
Expected Behavior
The assertion stack frame should appear in the source view.
Actual Behavior
The assertion appears as a file in a new VSCode tab titled errors_patch.dart
with the following content:
Could not load source 'dart:core-patch/errors_patch.dart': <source not available>.
Screenshots
Flutter 3.10.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f468f3366c (3 months ago) • 2023-07-12 15:19:05 -0700
Engine • revision cdbeda788a
Tools • Dart 3.0.6 • DevTools 2.23.1
as discussed with @DanTup