Reputation: 181
My debug mode does not work as I see the unverified breakpoint notice in VSCode in debug mode. I already checked the Launch json file and it is fine, but something else is wrong which I do not see what it is. Maybe something related to paths, etc. I tried to make a new project in VSCode using the command and the new default Flutter project is OK. So it seems like, if I can make a fresh project from my current project then my problem could be solved. But how? I tried to move my files from my current project to the newly made Default Flutter project but I do not think this is the way. Because I guess some of the files in my project are the source of issues... I already deleted .vs file but no help. Do you have any good idea how to fix this issue?
Upvotes: 5
Views: 2821
Reputation: 2076
If you are adding breakpoint on a package, make sure that package is linked to the flutter project. Sometime we might have linked the package from git, and expecting the brake-point on local to work.
Upvotes: 0
Reputation: 402
On my step :
Upvotes: -2
Reputation: 168
First try cleaning the project files using flutter clean
then flutter pub get
, try running the app without debugging and if you are down for making a new one just move the lib
and assets
folders and copy the content of pubspec.yaml
file.
Upvotes: -1