Reputation: 63
Flutter debugger is not showing the error where it occurred in my Flutter app files, instead, it shows the specific flutter file in which the error occurred this has made me unable to track where the error came from in my file. I get this when using flutter in vscode. The error is that I used a null check on a null value.
Upvotes: 1
Views: 699
Reputation: 68
Flutter does this with a few errors, had the same issue with a declaration error where data from a JSON was int and I declared it as a list. I found that running it and inspecting the console on the HTML page sometimes helps and shows more info. If you could post the specific error it would be easier to help you find a solution.
Upvotes: 1