当前位置:网站首页>Run菜单解析
Run菜单解析
2022-07-05 08:31:00 【thoughtCodes】
Survive by day and develop by night.
talk for import biz , show your code,I am busy,make a better result.
目录

概述
一直在用的运行的菜单,写了这个小计一下:
需求:
设计思路
实现思路分析
1.run model
运行模式 该程序,最常用,不赘述
2.debug model
debug 模式该项目,也比较常用
3.run project with coverage
由于项目有单测覆盖率的要求,运行此项。
4.run
其实主要是一些配置信息,可以认为是run 模式的proties模式。
5.debug
debug 模式也可以认为是debug 模式的父模式。
profile

主要针对android 的性能视图。
attent to process

Test history
测试历史记录
import Tests from File
从文件导入测试用例
stop
太常见了,不解释了
stop backgroup processes
停止后台进程和stop 差不多
show run list
多次执行时可以看到
先介绍如何打断点
restore break
恢复断点
toggle line breakpoints
切换到断点
toggle method breakpoints
切换到方法断点
toggle tempoaray line breakpints
切换到临时断点
toggle breakpoint enable
切换断点的可用性
view breakpoints
查看断点视图
线程dump
get thread dump
获取线程dump
核心
evlation expression
计算表达式,选择表达式即可计算
quick eavaltion expression
快速查看表达式
show exection Point
查看当前的执行断点
(重点)
Reload changed classed
加载变化的类对象
restart activity
重启活动,没用过
Step over
单步跳过
force step over
强制跳过
Step into
单步跳入,通常是执行方法
Force step into
强制单步跳入
Smart step into
智能单步跳入
step out
跳出
run to cursor
运行到光标
force run to cursor
强制运行到光标
force return
强制return,我们不想执行后续的逻辑,直接我们定义的表达式
throw exception
抛出异常
Pause program
暂停程序
resume progream
挂起程序
使用方法
通常是
1.调用
视图toggle
2.eavation expresion
3.最后调式程序,step in,out,
等等
基本和平常操作没什么区别。
拓展实现
这里参考:github:简单实现上述流程:
入门级实现:
: 部分源码实现.
: 源码实现
性能参数测试:
无
参考资料和推荐阅读
欢迎阅读,各位老铁,如果对你有帮助,点个赞加个关注呗!~
边栏推荐
- Shell script realizes the reading of serial port and the parsing of message
- Slist of linked list
- 实例002:“个税计算” 企业发放的奖金根据利润提成。利润(I)低于或等于10万元时,奖金可提10%;利润高于10万元,低于20万元时,低于10万元的部分按10%提成,高于10万元的部分,可提成7.
- STM32 single chip microcomputer - external interrupt
- Infected Tree(树形dp)
- STM32 lights up the 1.8-inch screen under Arduino IDE
- Anonymous structure in C language
- Keil use details -- magic wand
- Lori remote control commissioning record
- Xrosstools tool installation for X-Series
猜你喜欢

leetcode - 445. 两数相加 II

NTC thermistor application - temperature measurement

【三层架构及JDBC总结】

STM32 single chip microcomputer - bit band operation

STM32---ADC

QEMU STM32 vscode debugging environment configuration
![[nas1] (2021cvpr) attentivenas: improving neural architecture search via attentive sampling (unfinished)](/img/3b/c94b8466370f4461875c85b4f66860.png)
[nas1] (2021cvpr) attentivenas: improving neural architecture search via attentive sampling (unfinished)

L298N module use
![[cloud native | learn kubernetes from scratch] III. kubernetes cluster management tool kubectl](/img/8a/702019b44c8e60dffbcd898330afcb.png)
[cloud native | learn kubernetes from scratch] III. kubernetes cluster management tool kubectl

One question per day - replace spaces
随机推荐
STM32 --- GPIO configuration & GPIO related library functions
STM32 --- NVIC interrupt
MATLAB小技巧(28)模糊綜合評價
Daily question - input a date and output the day of the year
[three tier architecture]
DCDC circuit - function of bootstrap capacitor
More than 90% of hardware engineers will encounter problems when MOS tubes are burned out!
Naming rules for FreeRTOS
STM32 single chip microcomputer -- volatile keyword
MATLAB skills (28) Fuzzy Comprehensive Evaluation
STM32 virtualization environment of QEMU
【NOI模拟赛】汁树(树形DP)
Summary of SIM card circuit knowledge
What are the test items of power battery ul2580
Briefly talk about the identification protocol of mobile port -bc1.2
Stablq of linked list
L298N module use
Cinq détails de conception du régulateur de tension linéaire
Go dependency injection -- Google open source library wire
Example 003: a complete square is an integer. It is a complete square after adding 100, and it is a complete square after adding 168. What is the number?