当前位置:网站首页>[shutter] shutter debugging (debugging fallback function | debug method of viewing variables in debugging | console information)
[shutter] shutter debugging (debugging fallback function | debug method of viewing variables in debugging | console information)
2022-07-03 01:58:00 【Programmer community】
List of articles
- One 、 Debug fallback function
- Two 、Debug How to view variables in debugging
- 3、 ... and 、Debug Console information
- Four 、 Related resources
One 、 Debug fallback function
In the course of debugging , Often miss debugging at key locations , If you do not enter the key method for debugging ;
Flutter Debugging provides a " Regret " , Frame window , This window records the running status of all key methods , The value recorded by the running status , You can go back to the specified method ;

Above picture 259 Line of code has been executed , Execute now 188 Lines of code , Click on Frames Medium 259 Execution item of line , You can go back and view the values of related variables or expressions when the state is executed ;
Two 、Debug How to view variables in debugging
Flutter project Debug During debugging , How to view variables :
Place the cursor at the variable position , Click the left mouse button , The variable value floating layer can be displayed below the variable , Variable values are displayed in the floating layer ;

stay Variables In the variables window , The method of the current breakpoint will be listed , Values of all variables of the class where the breakpoint is located ;

stay Watches In the window , Click on the left Plus button " New Watch " ,

Enter variables or expressions in the pop-up dialog box ,

Click enter , You can view the value of this variable ;

3、 ... and 、Debug Console information
If an error occurs in the program , An error will be reported to the console ;
If you are debugging code with a large amount of data , It is not convenient to perform breakpoint debugging , Such as Bluetooth serial port data , You need to print the log , Also output to the console ;

Four 、 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 )
边栏推荐
- Caused by: com. fasterxml. jackson. databind. exc.MismatchedInputException: Cannot construct instance o
- One of the C language practical projects is greedy snake
- [camera topic] turn a drive to light up the camera
- Technology sharing | Frida's powerful ability to realize hook functions
- The testing process that software testers should know
- View of MySQL
- ¢ growth path and experience sharing of getting an offer
- MySQL学习03
- Huakaiyun | virtual host: IP, subnet mask, gateway, default gateway
- 2022 spring "golden three silver four" job hopping prerequisites: Software Test interview questions (with answers)
猜你喜欢
![[fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)](/img/ac/bf83f319ea787c5abd7ac3fabc9ede.jpg)
[fluent] fluent debugging (debug debugging window | viewing mobile phone log information | setting normal breakpoints | setting expression breakpoints)

In the face of difficult SQL requirements, HQL is not afraid

STM32 - introduction of external interrupts exti and NVIC

His experience in choosing a startup company or a big Internet company may give you some inspiration
![[Appendix 6 Application of reflection] Application of reflection: dynamic agent](/img/e7/0ee42902b178b13e9a41385267e7b6.jpg)
[Appendix 6 Application of reflection] Application of reflection: dynamic agent

Visual yolov5 format data set (labelme JSON file)

Wechat applet Development Tool Post net:: Err Proxy Connexion Problèmes d'agent défectueux

Performance test | script template sorting, tool sorting and result analysis

深度(穿透)选择器 ::v-deep/deep/及 > > >

Hard core observation 547 large neural network may be beginning to become aware?
随机推荐
[error record] navigator operation requested with a context that does not include a naviga
网络安全-浅谈安全威胁
Everything文件搜索工具
Huakaiyun (Zhiyin) | virtual host: what is a virtual host
PS去除水印详解
Technology sharing | Frida's powerful ability to realize hook functions
[data mining] task 3: decision tree classification
When the epidemic comes, how to manage the team as a leader| Community essay solicitation
可視化yolov5格式數據集(labelme json文件)
Why can't the start method be called repeatedly? But the run method can?
Introduction to kotlin collaboration
Prohibited package name
Return the only different value (de duplication)
How is the mask effect achieved in the LPL ban/pick selection stage?
Vant implements a simple login registration module and a personal user center
Certaines fonctionnalités du développement d'applets
2022 spring "golden three silver four" job hopping prerequisites: Software Test interview questions (with answers)
Bottleneck period must see: how can testers who have worked for 3-5 years avoid detours and break through smoothly
Network security - DNS spoofing and phishing websites
[untitled]