当前位置:网站首页>[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 )
边栏推荐
- Hard core observation 547 large neural network may be beginning to become aware?
- [data mining] task 3: decision tree classification
- Smart management of Green Cities: Digital twin underground integrated pipe gallery platform
- [camera topic] complete analysis of camera dtsi
- Summary of interval knowledge
- 2022-02-15 reading the meta module inspiration of the influxdb cluster
- STM32 - Application of external interrupt induction lamp
- 云原生题目整理(待更新)
- PS remove watermark details
- [error record] navigator operation requested with a context that does not include a naviga
猜你喜欢

技术大佬准备就绪,话题C位由你决定

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

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

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

Some functions of applet development
![[shutter] animation animation (animatedbuilder animation use process | create animation controller | create animation | create components for animation | associate animation with components | animatio](/img/32/fa1263d9a2e5f77b0434fce1912cb2.gif)
[shutter] animation animation (animatedbuilder animation use process | create animation controller | create animation | create components for animation | associate animation with components | animatio

【Camera专题】Camera dtsi 完全解析

MySQL学习03
![[data mining] task 6: DBSCAN clustering](/img/af/ad7aa523b09884eee967c6773a613f.png)
[data mining] task 6: DBSCAN clustering

小程序开发的部分功能
随机推荐
Vant 实现简单的登录注册模块以及个人用户中心
Network security - scan
[shutter] hero animation (hero realizes radial animation | hero component createrecttween setting)
Basic operation of view
Custom components, using NPM packages, global data sharing, subcontracting
[QT] encapsulation of custom controls
深度学习笔记(持续更新中。。。)
[Appendix 6 Application of reflection] Application of reflection: dynamic agent
Why can't the start method be called repeatedly? But the run method can?
[data mining] task 5: k-means/dbscan clustering: double square
Huakaiyun | virtual host: IP, subnet mask, gateway, default gateway
Answers to ten questions about automated testing software testers must see
Performance test | script template sorting, tool sorting and result analysis
树形结构数据的处理
[shutter] animation animation (animatedbuilder animation use process | create animation controller | create animation | create components for animation | associate animation with components | animatio
Learn BeanShell before you dare to say you know JMeter
网络安全-扫描
Three core issues of concurrent programming - "deep understanding of high concurrent programming"
Processing of tree structure data
His experience in choosing a startup company or a big Internet company may give you some inspiration