Skip to content

Breakpoints don't work on a mounted dev drive #7336

@mvarendorff2

Description

@mvarendorff2

Steps to Reproduce

  1. On Windows 11, create a Dev Drive (let's call it D: here)
  2. Mount D: to a subfolder of C: (for example C:\Projects)
  3. Create a project in D:\my-great-flutter-project
  4. Open it in Android Studio using the path C:\Projects\my-great-flutter-project
  5. Try to debug the app with breakpoints -> doesn't work and breakpoints are shown as 🚫 :(
  6. Open it in Android Studio using the path D:\my-great-flutter-project
  7. Try to debug the app with breakpoints -> works :)

Version info

Flutter Doctor output
[✓] Flutter (Channel stable, 3.19.1, on Microsoft Windows [Version 10.0.22631.3374], locale
    en-GB)
    • Flutter version 3.19.1 on channel stable at C:\Users\miche\fvm\versions\3.19.1
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision abb292a07e (7 weeks ago), 2024-02-20 14:35:05 -0800
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\development\Android\Sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = C:\development\Android\Sdk
    • Java binary at: C:\Users\miche\AppData\Local\Programs\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)
    • All Android licenses accepted.

[✗] Chrome - develop for the web (Cannot find Chrome executable at
    .\Google\Chrome\Application\chrome.exe)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[!] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.9.34714.143
    • Windows 10 SDK version 10.0.22621.0
    ✗ Visual Studio is missing necessary components. Please re-run the Visual Studio installer
      for the "Desktop development with C++" workload, and include these components:
        MSVC v142 - VS 2019 C++ x64/x86 build tools
         - If there are multiple build tool versions available, install the latest
        C++ CMake tools for Windows
        Windows 10 SDK

[✓] Android Studio (version 2023.2)
    • Android Studio at C:\Users\miche\AppData\Local\Programs\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)

[✓] Connected device (3 available)
    • SM G991B (mobile) • R3CR403EPAV • android-arm64  • Android 14 (API 34)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version
      10.0.22631.3374]
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 123.0.2420.81

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Additional notes

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions