•  


Flutter and Dart DevTools | Flutter

Flutter and Dart DevTools

What is DevTools?

#

DevTools is a suite of performance and debugging tools for Dart and Flutter. Flutter DevTools_ and Dart DevTools refer to the same set of tools.

Dart DevTools Screens

For a video introduction to DevTools, check out the following deep dive and use-case walkthrough:

Dive in to DevTools

What can I do with DevTools?

#

Here are some of the things you can do with DevTools:

  • Inspect the UI layout and state of a Flutter app.
  • Diagnose UI jank performance issues in a Flutter app.
  • CPU profiling for a Flutter or Dart app.
  • Network profiling for a Flutter app.
  • Source-level debugging of a Flutter or Dart app.
  • Debug memory issues in a Flutter or Dart command-line app.
  • View general log and diagnostics information about a running Flutter or Dart command-line app.
  • Analyze code and app size.

We expect you to use DevTools in conjunction with your existing IDE or command-line based development workflow.

How to launch DevTools

#

See the VS Code , Android Studio/IntelliJ , or command line pages for instructions on how to launch DevTools.

Troubleshooting some standard issues

#

Question : My app looks janky or stutters. How do I fix it?

Answer : Performance issues can cause UI frames to be janky and/or slow down some operations.

  1. To detect which code impacts concrete late frames, start at Performance > Timeline .
  2. To learn which code takes the most CPU time in the background, use the CPU profiler .

For more information, check out the Performance page.

Question : I see a lot of garbage collection (GC) events occurring. Is this a problem?

Answer : Frequent GC events might display on the DevTools > Memory > Memory chart. In most cases, it's not a problem.

If your app has frequent background activity with some idle time, Flutter might use that opportunity to collect the created objects without performance impact.

Providing feedback

#

Please give DevTools a try, provide feedback, and file issues in the DevTools issue tracker . Thanks!

Other resources

#

For more information on debugging and profiling Flutter apps, see the Debugging page and, in particular, its list of other resources .

For more information on using DevTools with Dart command-line apps, see the DevTools documentation on dart.dev .

- "漢字路" 한글한자자동변환 서비스는 교육부 고전문헌국역지원사업의 지원으로 구축되었습니다.
- "漢字路" 한글한자자동변환 서비스는 전통문화연구회 "울산대학교한국어처리연구실 옥철영(IT융합전공)교수팀"에서 개발한 한글한자자동변환기를 바탕하여 지속적으로 공동 연구 개발하고 있는 서비스입니다.
- 현재 고유명사(인명, 지명등)을 비롯한 여러 변환오류가 있으며 이를 해결하고자 많은 연구 개발을 진행하고자 하고 있습니다. 이를 인지하시고 다른 곳에서 인용시 한자 변환 결과를 한번 더 검토하시고 사용해 주시기 바랍니다.
- 변환오류 및 건의,문의사항은 juntong@juntong.or.kr로 메일로 보내주시면 감사하겠습니다. .
Copyright ⓒ 2020 By '전통문화연구회(傳統文化硏究會)' All Rights reserved.
 한국   대만   중국   일본