当前位置:网站首页>[fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)
[fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)
2022-07-03 01:55:00 【Programmer community】
List of articles
- One 、Flutter Introduction to debugging
- Two 、Debug Debug window
- 3、 ... and 、 View mobile log information
- Four 、 Set normal breakpoints
- 5、 ... and 、 Set expression breakpoints
- 6、 ... and 、 Related resources
One 、Flutter Introduction to debugging
Flutter debugging : Locate the problem , Runtime on expression , The value of variables is tracked in real time , Step through the debug code ;
- Breakpoint debugging
- Variable window Variables
- Observation window Watches
- Fallback during debugging Frames
- Console window Console
Two 、Debug Debug window
Flutter Debugging tools Debug : Click on Debug Button , You can debug ,

debugging Flutter Project time , The bottom shows Debug window ,

Debug On the left side of the window is the project operation , stop it , Breakpoint management related buttons ,

Debug In the window Console yes Flutter In the console , Will be displayed Flutter application Prompt information during operation , Error message , print Print information, etc ,
( Note that this is not Android In the console )

3、 ... and 、 View mobile log information
Flutter View mobile log information :
debugging Android project , adopt Android Studio open Flutter Medium Android Part of the code , And then in Logcat View in ;
Android The log of the platform is directly in Android Studio Medium Logcat View in window ;

debugging iOS project , Use Xcode open Flutter Medium iOS Project debugging ;
iOS The platform log needs to be in Mac in , open Xcode , stay Xcode In the console , Will be output iOS Mobile phone log information ;

Four 、 Set normal breakpoints
Click with the left mouse button on the right side of the line number of the code , You can add a breakpoint at the location of a line of code , And then click " Debug " Button
,
,

The code runs to the breakpoint , Will be suspended , At this time, you can view the operation in the current state , Such as variable value ;

5、 ... and 、 Set expression breakpoints
The breakpoint set by default is a normal breakpoint , You can also set Expression breakpoint ,
Right click the breakpoint , The following dialog box will pop up ,

Enter... In the dialog box 5.0 , Means that the expression value is 5.0 when , Breakpoints will be executed ,

After setting the expression breakpoint , Rerun , The program runs to this " Expression breakpoint " Location , get

6、 ... and 、 Related resources
Reference material :
- Flutter Official website : https://flutter.dev/
- Flutter Plug in download address : https://pub.dev/packages
- Flutter Developing documents : https://flutter.cn/docs ( Strongly recommend )
- official GitHub Address : https://github.com/flutter
- Flutter The Chinese community : https://flutter.cn/
- Flutter Practical tutorial : https://flutter.cn/docs/cookbook
- Flutter CodeLab : https://codelabs.flutter-io.cn/
- Dart Chinese document : https://dart.cn/
- Dart Developer website : https://api.dart.dev/
- Flutter Chinese net : https://flutterchina.club/ , http://flutter.axuer.com/docs/
- Flutter Related issues : https://flutterchina.club/faq/ ( It is recommended to watch it at the introductory stage )
- GitHub Upper Flutter Open source examples : https://download.csdn.net/download/han1202012/15989510
- Flutter Practical e-books : https://book.flutterchina.club/chapter1/
Important topics :
- Flutter Animation reference documentation : https://flutterchina.club/animations/
Blog source download :
GitHub Address : https://github.com/han1202012/flutter_animation ( Keep updating with the progress of the blog , There may not be the source code of this blog )
Blog source snapshot : https://download.csdn.net/download/han1202012/16245277 ( The source code snapshot of this blog , You can find the source code of this blog )
边栏推荐
- NCTF 2018 part Title WP (1)
- 【Camera专题】OTP数据如何保存在自定义节点中
- [technology development-23]: application of DSP in future converged networks
- Introduction to flask tutorial
- Reprint some Qt development experience written by great Xia 6.5
- "Jetpack - livedata parsing"
- Storage basic operation
- Certaines fonctionnalités du développement d'applets
- [North Asia data recovery] data recovery case of raid crash caused by hard disk disconnection during data synchronization of hot spare disk of RAID5 disk array
- In 2022, 95% of the three most common misunderstandings in software testing were recruited. Are you that 5%?
猜你喜欢

The technology boss is ready, and the topic of position C is up to you

深度学习笔记(持续更新中。。。)

What are the differences between software testers with a monthly salary of 7K and 25K? Leaders look up to you when they master it
![[error record] navigator operation requested with a context that does not include a naviga](/img/53/e28718970a2f7226ed53afa27f6725.jpg)
[error record] navigator operation requested with a context that does not include a naviga

Niuniu's ball guessing game (dynamic planning + prefix influence)

小程序開發的部分功能

Some functions of applet development

Asian Games countdown! AI target detection helps host the Asian Games!

【Camera专题】Camera dtsi 完全解析

【数据挖掘】任务4:20Newsgroups聚类
随机推荐
[error record] navigator operation requested with a context that does not include a naviga
Analyzing several common string library functions in C language
Tâche 6: regroupement DBSCAN
Internal connection query and external connection
小程序開發的部分功能
小程序开发黑马购物商城中遇到的问题
[camera special topic] Hal layer - brief analysis of addchannel and startchannel
[error record] the shutter component reports an error (no directionality widget found. | richtext widgets require a directionality)
Network security - the simplest virus
树形结构数据的处理
网络安全-DNS欺骗与钓鱼网站
[Appendix 6 Application of reflection] Application of reflection: dynamic agent
【數據挖掘】任務6:DBSCAN聚類
Network security - cracking system passwords
网络安全-防火墙
[camera topic] how to save OTP data in user-defined nodes
His experience in choosing a startup company or a big Internet company may give you some inspiration
2022 spring "golden three silver four" job hopping prerequisites: Software Test interview questions (with answers)
【数据挖掘】任务1:距离计算
Hard core observation 547 large neural network may be beginning to become aware?