当前位置:网站首页>[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 )
边栏推荐
- How is the mask effect achieved in the LPL ban/pick selection stage?
- Sweet talk generator, regular greeting email machine... Open source programmers pay too much for this Valentine's day
- 可视化yolov5格式数据集(labelme json文件)
- 网络安全-木马
- Prohibited package name
- [data mining] task 4:20newsgroups clustering
- [AUTOSAR cantp] -2.11-uds diagnostic response frame data segment data padding data filling and data optimization data optimization (Theory + configuration)
- 深度(穿透)选择器 ::v-deep/deep/及 > > >
- File class (check)
- 2022 spring "golden three silver four" job hopping prerequisites: Software Test interview questions (with answers)
猜你喜欢
stm32F407-------DMA
[shutter] animation animation (animatedbuilder animation use process | create animation controller | create animation | create components for animation | associate animation with components | animatio
微信小程序开发工具 POST net::ERR_PROXY_CONNECTION_FAILED 代理问题
STM32 - GPIO input / output mode
树形结构数据的处理
Vant implements a simple login registration module and a personal user center
【Camera专题】手把手撸一份驱动 到 点亮Camera
[data mining] task 3: decision tree classification
Take you ten days to easily complete the go micro service series (I)
Hard core observation 547 large neural network may be beginning to become aware?
随机推荐
Cloud native topic sorting (to be updated)
Smart management of Green Cities: Digital twin underground integrated pipe gallery platform
【Camera专题】手把手撸一份驱动 到 点亮Camera
How can retail enterprises open the second growth curve under the full link digital transformation
【数据挖掘】任务1:距离计算
2022-02-15 reading the meta module inspiration of the influxdb cluster
PS去除水印详解
[data mining] task 1: distance calculation
Everything文件搜索工具
Certaines fonctionnalités du développement d'applets
Technology sharing | Frida's powerful ability to realize hook functions
The testing process that software testers should know
浏览器是如何对页面进行渲染的呢?
[shutter] hero animation (hero realizes radial animation | hero component createrecttween setting)
Smart management of Green Cities: Digital twin underground integrated pipe gallery platform
"Jetpack - livedata parsing"
Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance o
Network security - Trojan horse
Analysis, use and extension of open source API gateway apisex
【Camera专题】HAL层-addChannel和startChannel简析