Efficient Flutter debugging with Dart DevTools

Поделиться
HTML-код
  • Опубликовано: 7 июн 2024
  • Debugging takes a significant portion of development time; hence, it's crucial to become an efficient and effective developer with an appropriate tool that could, ultimately, save our time. Dart DevTools is a web suite of debugging and performance tools that can work standalone or integrated into your IDE, aiming to ease debugging different Flutter and Dart application parts, including layout issues, performance problems, Network requests, and many more. In this talk, you'll learn what a Flutter developer can do with these tools and how you can get the most out of your development time using Dart DevTools.
    Chapters:
    0:00​ Intro
    2:12​ Open Dart DevTools in different ways
    2:59​ Flutter Inspector
    5:42​ Performance and CPU profiling
    8:23​ Network
    10:00​ Debugger & adding breakpoints
    12:01 ​Logging
    14:13​ App size
    16:19​ Summary
    17:14​ Thank you
    Twitter: / mhadaily
    Linkedin: / mhadaily
    Github: github.com/mhadaily/
    Website: majidhajian.com/
    Please leave a comment and let me know what you think about Dart DevTools and what do you want to learn more about Dart DevTools and Flutter.
  • НаукаНаука

Комментарии • 27

  • @sajadabbasi2268
    @sajadabbasi2268 3 года назад +2

    COOL thanks! great video quality!

  • @Aspiiire
    @Aspiiire 2 года назад +1

    Thank you for sharing Majid, I learned a few things that I didn't know :D

  • @harry356
    @harry356 Год назад +1

    Thanks a lot, really helpful!

  • @oswaldoolea2889
    @oswaldoolea2889 11 месяцев назад

    very good video, thanks

  • @makemypetgamedevprocess6475
    @makemypetgamedevprocess6475 2 года назад +1

    Awesome video

  • @p4u1ro13
    @p4u1ro13 3 месяца назад

    great video.. ty :)

  • @ghinaomerchannel6945
    @ghinaomerchannel6945 3 года назад +1

    Thank you

  • @zesegatto
    @zesegatto 3 года назад +2

    8:19 - O^n problem, right?
    in a place where I've worked it was forbidden to write recursive calls. I asked to broke this rule just when I was writing a serial line parser. They allowed.

  • @rahl123456789
    @rahl123456789 Год назад

    impressive

  • @noramanga
    @noramanga 2 года назад +1

    Great video ! By the way which font do you use for Visual Studio Code ?

    • @Majidhajian
      @Majidhajian 2 года назад +2

      I have both 'Operator Mono', 'Fira Code',

  • @zesegatto
    @zesegatto 3 года назад +1

    I'm still searching a way to see element tree. Just to close some concepts myself.

  • @afandiyusuf04
    @afandiyusuf04 3 года назад +1

    Finally, I can comment/delete all print functions on my request API function. lol

    • @mhadaily
      @mhadaily  3 года назад

      I am Glad it helped

  • @sandwichtube
    @sandwichtube 2 года назад +1

    Programming is like playing hockey. To be good you have to go into the corners and battle where it's difficult.

  • @jeniscodesmith3689
    @jeniscodesmith3689 2 года назад

    Planning to make better application with the use of devtools.

  • @thatwasamazing2791
    @thatwasamazing2791 2 года назад +1

    I plan on making nimbus much faster using the dart dev tools

  • @chaitanyabharatdokara4978
    @chaitanyabharatdokara4978 2 года назад

    I am not getting multimedia like video and audio HTTPS requests in the network tab.

    • @Majidhajian
      @Majidhajian 2 года назад

      Which version of SDK you are running?

    • @chaitanyabharatdokara4978
      @chaitanyabharatdokara4978 2 года назад

      @@Majidhajian sdk 2.8.1 using video_player dependency

    • @Majidhajian
      @Majidhajian 2 года назад

      @@chaitanyabharatdokara4978 mm, I am not sure then, you can also upgrade to 2.10.2 now latest version. it was a few bug fixes for devTools too.

    • @chaitanyabharatdokara4978
      @chaitanyabharatdokara4978 2 года назад

      @@Majidhajian I used the stable version (2.10.2) but audio and video are still not visible in the network tab

  • @wirwwira610
    @wirwwira610 2 года назад

    can i debug print an object in logger devtool?

    • @mhadaily
      @mhadaily  2 года назад

      you can print anything to debugger. But when you say Object what exactly do you mean? can you give me an example ?

    • @wirwwira610
      @wirwwira610 2 года назад

      @@mhadaily example: model , it must to convert to Json?

    • @mhadaily
      @mhadaily  2 года назад

      @@wirwwira610 you can simply add a toString to your model and print your model instance. that will appear to the debugger logs.
      are you thinking like something automated? like automated toString?

    • @wirwwira610
      @wirwwira610 2 года назад

      @@mhadaily its good solution, but for complicated object it hard to see data structure