当前位置:网站首页>[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 )
边栏推荐
- Comment le chef de file gère - t - il l'équipe en cas d'épidémie? Contributions communautaires
- [shutter] animation animation (animatedwidget animation use process | create animation controller | create animation | create animatedwidget animation component | animation operation)
- 【数据挖掘】任务3:决策树分类
- Caused by: com. fasterxml. jackson. databind. exc.MismatchedInputException: Cannot construct instance o
- STM32 - Application of external interrupt induction lamp
- Bottleneck period must see: how can testers who have worked for 3-5 years avoid detours and break through smoothly
- One of the C language practical projects is greedy snake
- Some functions of applet development
- 网络安全-扫描
- DML Foundation
猜你喜欢
【Camera专题】手把手撸一份驱动 到 点亮Camera
Virtual list
Button button adaptive size of wechat applet
小程序开发的部分功能
[data mining] task 1: distance calculation
可视化yolov5格式数据集(labelme json文件)
STM32 - GPIO input / output mode
PS remove watermark details
Smart management of Green Cities: Digital twin underground integrated pipe gallery platform
深度(穿透)选择器 ::v-deep/deep/及 > > >
随机推荐
Visual yolov5 format data set (labelme JSON file)
[Appendix 6 Application of reflection] Application of reflection: dynamic agent
机器学习笔记(持续更新中。。。)
Custom components, using NPM packages, global data sharing, subcontracting
[fluent] hero animation (hero animation use process | create hero animation core components | create source page | create destination page | page Jump)
502 (bad gateway) causes and Solutions
Asian Games countdown! AI target detection helps host the Asian Games!
Problems encountered in small program development of dark horse shopping mall
网络安全-浅谈安全威胁
网络安全-信息收集
Depth (penetration) selector:: v-deep/deep/ and > > >
[shutter] animation animation (animatedbuilder animation use process | create animation controller | create animation | create components for animation | associate animation with components | animatio
技术大佬准备就绪,话题C位由你决定
[camera special topic] Hal layer - brief analysis of addchannel and startchannel
Cloud native topic sorting (to be updated)
Huakaiyun (Zhiyin) | virtual host: what is a virtual host
Bottleneck period must see: how can testers who have worked for 3-5 years avoid detours and break through smoothly
Network security - vulnerabilities and Trojans
网络安全-钓鱼
网络安全-木马