最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to find the source of a Null check operator exception in dart? - Stack Overflow

programmeradmin4浏览0评论

I can see weird and exotic errors displayed in debug console and I am unable to narrow down to the code location it is coming from. I know it is related to a chart widget but I am unable to find which part of it is causing the problem.

When running the code in debug mode from VSCode, how can I instruct VSCode / Flutter - or whichever component is responsible - to either break to the code when the error is occuring or display the code location in debug console where it occured ? I can't find a setting like "Break on NullReferenceException" or similar like we have it Visual Studio Professional I use for .NET dev. The current debug console output is not much useful unfortunately.

发布评论

评论列表(0)

  1. 暂无评论