当前位置:网站首页>[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 )
边栏推荐
- Function definition and call, this, strict mode, higher-order function, closure, recursion
- A 30-year-old software tester, who has been unemployed for 4 months, is confused and doesn't know what to do?
- Some functions of applet development
- Network security - man in the middle attack
- Niuniu's ball guessing game (dynamic planning + prefix influence)
- Depth (penetration) selector:: v-deep/deep/ and > > >
- 函数的定义和调用、this、严格模式、高阶函数、闭包、递归
- 网络安全-浅谈安全威胁
- 缺少库while loading shared libraries: libisl.so.15: cannot open shared object file: No such file
- In 2022, 95% of the three most common misunderstandings in software testing were recruited. Are you that 5%?
猜你喜欢

The testing process that software testers should know

Processing of tree structure data

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

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

In 2022, 95% of the three most common misunderstandings in software testing were recruited. Are you that 5%?

STM32 - GPIO input / output mode

Virtual list

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

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

What are the differences between software testers with a monthly salary of 7K and 25K? Leaders look up to you when they master it
随机推荐
网络安全-防火墙
机器学习笔记(持续更新中。。。)
Modify table structure
[shutter] hero animation (hero realizes radial animation | hero component createrecttween setting)
[untitled]
自定义组件、使用npm包、全局数据共享、分包
Ni visa fails after LabVIEW installs the third-party visa software
云原生题目整理(待更新)
微信小程序開發工具 POST net::ERR_PROXY_CONNECTION_FAILED 代理問題
DML Foundation
Performance test | script template sorting, tool sorting and result analysis
转载收录6.5大侠写的部分Qt开发经验
[camera topic] how to save OTP data in user-defined nodes
stm32F407-------DMA
View of MySQL
Everything file search tool
[shutter] animation animation (animatedbuilder animation use process | create animation controller | create animation | create components for animation | associate animation with components | animatio
[data mining] task 4:20newsgroups clustering
Network security - Trojan horse
【数据挖掘】任务1:距离计算