当前位置:网站首页>[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 )
边栏推荐
- 网络安全-破解系统密码
- [camera topic] turn a drive to light up the camera
- Asian Games countdown! AI target detection helps host the Asian Games!
- [data mining] task 3: decision tree classification
- [shutter] animation animation (animatedbuilder animation use process | create animation controller | create animation | create components for animation | associate animation with components | animatio
- 【Camera专题】OTP数据如何保存在自定义节点中
- 2022-02-15 reading the meta module inspiration of the influxdb cluster
- Processing of tree structure data
- NCTF 2018 part Title WP (1)
- [QT] encapsulation of custom controls
猜你喜欢

C application interface development foundation - form control (1) - form form

【數據挖掘】任務6:DBSCAN聚類

STM32 - GPIO input / output mode

NCTF 2018 part Title WP (1)

Take you ten days to easily complete the go micro service series (I)

【数据挖掘】任务2:医学数据库MIMIC-III数据处理

小程序開發的部分功能

全链路数字化转型下,零售企业如何打开第二增长曲线

Performance test | script template sorting, tool sorting and result analysis
![[understanding of opportunity -36]: Guiguzi - flying clamp chapter - prevention against killing and bait](/img/c6/9aee30cb935b203c7c62b12c822085.jpg)
[understanding of opportunity -36]: Guiguzi - flying clamp chapter - prevention against killing and bait
随机推荐
全链路数字化转型下,零售企业如何打开第二增长曲线
浏览器是如何对页面进行渲染的呢?
【数据挖掘】任务3:决策树分类
When the epidemic comes, how to manage the team as a leader| Community essay solicitation
网络安全-破解系统密码
小程序开发的部分功能
Button button adaptive size of wechat applet
网络安全-防火墙
查询商品案例-页面渲染数据
Scheme and practice of cold and hot separation of massive data
Network security - the simplest virus
Network security ACL access control list
Some functions of applet development
Network security - virus
DDL basic operation
网络安全-动态路由协议RIP
Virtual list
[Yu Yue education] Jiujiang University material analysis and testing technology reference
Problems encountered in small program development of dark horse shopping mall
网络安全-浅谈安全威胁