目錄

除錯 Flutter 應用

目錄

有很多工具和屬性可以幫助除錯 Flutter 應用程式,如下列舉了一些:

  • VS Code(推薦)和 Android Studio/IntelliJ (藉助 Flutter 和 Dart 外掛)支援內建的原始碼除錯器,可以設定斷點,單步調試,檢查數值。

  • 開發者工具,是一套執行在瀏覽器的效能及分析工具。

  • Flutter inspector, a widget inspector available in DevTools, and also directly from Android Studio and IntelliJ (enabled with the Flutter plugin). The inspector allows you to examine a visual representation of the widget tree, inspect individual widgets and their property values, enable the performance overlay, and more.
  • If you are looking for a way to use GDB to remotely debug the Flutter engine running within an Android app process, check out flutter_gdb.

其他資源

以下是其他一些有用的文件: