当前位置:网站首页>[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 )
边栏推荐
- Redis:Redis的简单使用
- Network security - Trojan horse
- Smart management of Green Cities: Digital twin underground integrated pipe gallery platform
- Caused by: com. fasterxml. jackson. databind. exc.MismatchedInputException: Cannot construct instance o
- 网络安全-破解系统密码
- Everything文件搜索工具
- What are the differences between software testers with a monthly salary of 7K and 25K? Leaders look up to you when they master it
- [shutter] animation animation (animatedbuilder animation use process | create animation controller | create animation | create components for animation | associate animation with components | animatio
- One of the C language practical projects is greedy snake
- Network security OpenVAS
猜你喜欢
[data mining] task 1: distance calculation
Sweet talk generator, regular greeting email machine... Open source programmers pay too much for this Valentine's day
【Camera专题】Camera dtsi 完全解析
Summary of interval knowledge
Network security - vulnerabilities and Trojans
In 2022, 95% of the three most common misunderstandings in software testing were recruited. Are you that 5%?
Performance test | script template sorting, tool sorting and result analysis
Huakaiyun (Zhiyin) | virtual host: what is a virtual host
[data mining] task 5: k-means/dbscan clustering: double square
STM32 - vibration sensor control relay on
随机推荐
云原生题目整理(待更新)
Anna: Beibei, can you draw?
STM32 - Application of external interrupt induction lamp
网络安全-openvas
网络安全-动态路由协议RIP
Network security NAT network address translation
Redis:Redis的简单使用
网络安全-破解系统密码
DDL basic operation
Learn BeanShell before you dare to say you know JMeter
PS去除水印详解
Network security - password cracking
Network security - talking about security threats
Network security - the simplest virus
Network security - phishing
树形结构数据的处理
可视化yolov5格式数据集(labelme json文件)
网络安全-中间人攻击
Vant 实现简单的登录注册模块以及个人用户中心
Introduction to flask tutorial