skip to Main Content

I can set breakpoints, but when I run in Debug mode the breakpoint’s icon change with this:

enter image description here

I think that the problem is the new version of Flutter plugin in Android Studio, but I’m not sure. How to fix this?

What I’ve tried:

  1. flutter clean
  2. android studio cache clean and restart

5

Answers


  1. need to roll back the version of the flutter plugin to 64.1.2.

    https://plugins.jetbrains.com/plugin/9212-flutter/versions

    Login or Signup to reply.
  2. Upgrade to the latest version of the flutter plugin 65.1.3 solved my problem.

    https://plugins.jetbrains.com/plugin/9212-flutter/versions

    Login or Signup to reply.
  3. Confirmed: plug-in was one thing.

    The other problem is that IntelliJ (same for Android Studio) distinguish between:

    import '../../viewmodel/**m**essages
    import '../../viewmodel/**M**essages
    

    Compiling, running, Dart analysis … everything’s fine. However, breakpoints don’t work!

    To be more precise: some breakpoints don’t work, only in some files!

    Tip: If a breakpoint does not work, remove all imports in the file. Click the bulb to get suggestions – and you will see the duplicate imports.
    See wrong imports

    Btw.: I am on Windows. And the file system does not distinguish between upper and lower case filenames.

    Login or Signup to reply.
  4. Faced to this issue today as well: looks like for me the solution was to update Flutter / Dart SDK and their Plugins for Android Studio.

    Some users report the problem is linked to the Chrom Version >=100 due to API change, but on my side it was not working with Edge as well.

    After update problem has gone

    Login or Signup to reply.
  5. There is indeed also an issue with Chrome Version >=100. Running flutter upgrade (to flutter 2.10.5) fixed this for me as described here

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search