IntelliJ是否有理由不向我显示Dart调试器存在明显问题的错误?

时间:2019-03-23 17:45:13

标签: debugging dart flutter

我已经在我的Flutter应用程序上工作了一段时间了,一切进展顺利。最近,调试问题导致出现以下错误:

CompileCompiler message:
org-dartlang-debug:synthetic_debug_expression:1:10: Error: Can't find ')' to match '('.
new Stack(
         ^
org-dartlang-debug:synthetic_debug_expression:1:5: Error: Method not found: 'Stack'.
new Stack(
    ^^^^^
Compiler failed on /Users/jaredhasson/IdeaProjects/new_wra/lib/main.dart
Error launching application on iPhone XR.
r message:
org-dartlang-debug:synthetic_debug_expression:1:10: Error: Can't find ')' to match '('.
new Stack(
         ^
org-dartlang-debug:synthetic_debug_expression:1:5: Error: Method not found: 'Stack'.
new Stack(
    ^^^^^
Compiler failed on /Users/jaredhasson/IdeaProjects/new_wra/lib/main.dart
Error launching application on iPhone XR.

当我在IntelliJ IDEA中浏览文件时,我所有的Stack()实例都有正确的左括号和右括号。如何找到此错误并解决?即使我可以将错误隔离到一个文件,这也将有所帮助,但是控制台显示的只是main.date文件,该文件的Stack()实例为零。

我尝试重新启动计算机并运行flutter doctor,但均未更改任何内容。我正确设置了一切。我制作的其他Flutter应用都能正常运行,所以我知道这是该特定项目中的代码存在的问题。

如果您愿意查看并可以提供帮助,可以在https://github.com/JaredEzz/new_wra上找到我的代码。谢谢!

0 个答案:

没有答案