-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
Labels
a: debuggingDebugging, breakpoints, expression evaluationDebugging, breakpoints, expression evaluationtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Apologies if this is better suited for a different project.
At some point, non-exception breakpoints in VSCode stopped working for me, again. This seems to be unrelated to other beakpoints-not-working issue, but symptomatically feels like a regression.
Separately, while I am able to set breakpoints in the observatory, it's cumbersome and unreliable as sometimes I don't get frame info—so it's not a practical workaround.
Example Breakpoints
The following image (sorry about the screenshot; file is main.dart) shows one breakpoint that is being hit. The break on Line 60 is the only one that breaks, and it breaks reliably this morning at least. If I continue after this, no subsequent breaks are hit, and no breaks are hit prior to this:
Environment
- Flutter
1.15.22 - VSCode
1.43.1 (fe22a9645b44368865c0ba92e2fb881ff1afce94) - Flutter Plugin
3.8.1 - Dart Plugin
3.8.1 - iPhone SE 8GB / iOS 13.3.1
- XCode
11.3.1 (11C504)
Steps to Reproduce
- Open a source file (e.g.
main.dart) and set a (non-exception) breakpoint where one is expected to break. - Start the app with debugging.
- Observe breakpoint not hit.
Logs
flutter run --debug
✘ xxxx@yyyy ~/projects/kibanlabsinc/AferoFlutterSofthub/example topic/flutr-951-update-softhub-binaries ● flutter run --debug
Launching lib/main.dart on Jenkins iPhone SE in debug mode...
Warning: Missing build name (CFBundleShortVersionString).
Warning: Missing build number (CFBundleVersion).
Action Required: You must set a build name and number in the pubspec.yaml file version field before submitting to the App Store.
Automatically signing iOS for device deployment using specified development team in Xcode project: YVKN778Q2B
Running Xcode build...
└─Compiling, linking and signing... 11.2s
Xcode build done. 18.2s
Installing and launching... 27.2s
Syncing files to device Jenkins iPhone SE... 192ms
Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
An Observatory debugger and profiler on Jenkins iPhone SE is available at: http://localhost:1024
VSCode Run and Observatory Logs
Flutter Doctor
Note: IntelliJ not being used.
[✓] Flutter (Channel dev, v1.15.22, on Mac OS X 10.15.3 19D76, locale en-US)
• Flutter version 1.15.22 at /Users/******/flutter
• Framework revision 1606d87834 (4 days ago), 2020-03-16 00:36:01 -0400
• Engine revision 6801b4dae7
• Dart version 2.8.0 (build 2.8.0-dev.14.0 7079c49b05)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/******/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3.1, Build version 11C504
• CocoaPods version 1.9.1
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[!] IntelliJ IDEA Community Edition (version 2019.2.4)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins
[✓] VS Code (version 1.43.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.8.1
[✓] Connected device (1 available)
• Jenkins iPhone SE • df5172591460e8b7c45a77faf9386e2c2f3cbfc6 • ios • iOS 13.3.1
! Doctor found issues in 1 category.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
a: debuggingDebugging, breakpoints, expression evaluationDebugging, breakpoints, expression evaluationtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
