当前位置:网站首页>[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 )
边栏推荐
- [keil5 debugging] debug is stuck in reset_ Handler solution
- Why can't the start method be called repeatedly? But the run method can?
- Network security ACL access control list
- Network security - virus
- ByteDance data Lake integration practice based on Hudi
- ¢ growth path and experience sharing of getting an offer
- Summary of interval knowledge
- A 30-year-old software tester, who has been unemployed for 4 months, is confused and doesn't know what to do?
- "Jetpack - livedata parsing"
- STM32 - introduction of external interrupts exti and NVIC
猜你喜欢

Tâche 6: regroupement DBSCAN
![[camera topic] how to save OTP data in user-defined nodes](/img/3e/b76c4d6ef9ab5f5b4326a3a8aa1c4f.png)
[camera topic] how to save OTP data in user-defined nodes
![[data mining] task 6: DBSCAN clustering](/img/af/ad7aa523b09884eee967c6773a613f.png)
[data mining] task 6: DBSCAN clustering
![[data mining] task 1: distance calculation](/img/72/a63cdfe32a7c438acf48a069d9bba1.png)
[data mining] task 1: distance calculation

Scheme and practice of cold and hot separation of massive data

【Camera专题】OTP数据如何保存在自定义节点中
![[data mining] task 5: k-means/dbscan clustering: double square](/img/e7/678197e703d1a28b765a0e3afd5580.png)
[data mining] task 5: k-means/dbscan clustering: double square
![[error record] the shutter component reports an error (no directionality widget found. | richtext widgets require a directionality)](/img/3c/93ef853784d4e7cef63f30be0b0bf2.jpg)
[error record] the shutter component reports an error (no directionality widget found. | richtext widgets require a directionality)

【数据挖掘】任务4:20Newsgroups聚类

Smart management of Green Cities: Digital twin underground integrated pipe gallery platform
随机推荐
Vant implements a simple login registration module and a personal user center
JUC thread scheduling
PS remove watermark details
【数据挖掘】任务3:决策树分类
Network security ACL access control list
Leetcode skimming questions_ Sum of two numbers II - enter an ordered array
[camera topic] turn a drive to light up the camera
Some functions of applet development
Cloud native topic sorting (to be updated)
Openresty cache
NCTF 2018 part Title WP (1)
2022-02-15 reading the meta module inspiration of the influxdb cluster
Network security - cracking system passwords
网络安全-最简单的病毒
网络安全-ACL访问控制列表
[understanding of opportunity -36]: Guiguzi - flying clamp chapter - prevention against killing and bait
VIM 9.0 is officially released! The execution speed of the new script can be increased by up to 100 times
网络安全-木马
【數據挖掘】任務6:DBSCAN聚類
网络安全-破解系统密码