Reporting error: Failed to parse package:app/mvvm/view.abs.dart.
Stack trace:
org-dartlang-sdk:///dart-sdk/lib/_internal/js_runtime/lib/core_patch.dart 787:58 StackTrace.current
../../../lib/src/screens/debugger/codeview_controller.dart 250:29 CodeViewController._showScriptLocation
org-dartlang-sdk:///dart-sdk/lib/_internal/js_runtime/lib/async_patch.dart 311:19 _wrapJsFunctionForAsync
org-dartlang-sdk:///dart-sdk/lib/_internal/js_runtime/lib/async_patch.dart 336:23 _wrapJsFunctionForAsync.
<-- Please describe your problem here. Be sure to include repro steps. -->
DevTools version: 2.42.3 IDE: VSCode Connected Device: CPU / OS: arm64 (64 bit) android Connected app type: Flutter native (profile build) Dart Version: 3.7.2 Flutter Version: 3.29.2 / stable Framework / Engine: c236373904 / 18b71d647a
From the stack trace it looks to me like if the Dart code for a file can't be parsed, the debugger screen is crashing. I have not confirmed though myself.
This could also be related to language versions, if DevTools is older than the package being loaded and can't understand some code that is at a newer language version.