当前位置:网站首页>Download and install bashdb
Download and install bashdb
2022-04-23 08:49:00 【Taylor lance】
Recently found a debug shell A good assistant for scripts ,bashddb.
Download address :
https://sourceforge.net/projects/bashdb/files/

And then choose bashdb

Then watch it on your computer bash Version of
bash --version
bash --version
GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
My is 5.0.17, Then I choose 5.0-1.1.2 Version of bashdb download .
./configure
make
make install
You can use it
bashdb --debug xx.sh
Then enter the following bashdb command :
One 、 List codes and query code classes :
l Lists the items below the current line 10 That's ok
- Lists the front of the line of code being executed 10 That's ok
. Return to the line of code being executed
w Lists the code before and after the line of code being executed
/pat/ Backward search pat
? pat? Search forward pat
Two 、Debug The control class :
h help
help command Get the specific information of the command
q sign out bashdb
x Arithmetic expression Calculates the value of an arithmetic expression , And show it
!! Space Shell command Parameters perform shell command
Use bashdb Conduct debug Common commands (cont.)
3、 ... and 、 Control script execution class :
n Execute the next statement , Encountered function , Do not enter the function to execute , Treat functions as black boxes
s n Step by step n Time , When a function is encountered, it enters the function
b Line number n In the line number n Set breakpoint
del Line number n Undo line number n The breakpoint at
c Line number n Execute until line number n It's about
R Restart top note of debugging script
Finish Execute to the end of the program
cond n expr Conditional breakpoints
版权声明
本文为[Taylor lance]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230828298563.html
边栏推荐
- Stm32f103zet6 [development of standard library functions] - Introduction to library functions
- Please arrange star trek in advance to break through the new playing method of chain tour, and the market heat continues to rise
- Idea package jar file
- LINQ学习系列-----1.4 匿名对象
- Use include in databinding
- 测试你的机器学习流水线
- 2022-04-22 OpenEBS云原生存储
- LeetCode396.旋转数组
- OneFlow學習筆記:從Functor到OpExprInterpreter
- L2-3 romantic silhouette (25 points)
猜你喜欢

idea打包 jar文件

在sqli-liabs学习SQL注入之旅(第十一关~第二十关)

Notes on 30 steps of introduction to Internet of things of yangtao electronics STM32 III. Explanation of new cubeide project and setting

引用传递1

Cadence process angle simulation, Monte Carlo simulation, PSRR

ESP32程序下载失败,提示超时

PLC的点表(寄存器地址和点表定义)破解探测方案--方便工业互联网数据采集

MATLAB入门资料

L2-022 重排链表 (25 分)(map+结构体模拟)

Enterprise wechat application authorization / silent login
随机推荐
lgb,xgb,cat k折交叉验证
【58】最后一个单词的长度【LeetCode】
扣缴义务人
On time atom joins hands with oneos live broadcast, and the oneos system tutorial is fully launched
After a circle, I sorted out this set of interview questions..
Concave hull acquisition method based on convex hull of point cloud
Test your machine learning pipeline
Judgment on heap (25 points) two insertion methods
Swagger document export custom V2 / API docs interception
Redis Desktop Manager for Mac(Redis可视化工具)
Idea import commons-logging-1.2 Jar package
BK3633 规格书
php基于哈希算法出现的强弱比较漏洞
Complete binary search tree (30 points)
MATLAB 画五星红旗
flask项目跨域拦截处理以及dbm数据库学习【包头文创网站开发】
Consensus Token:web3.0生态流量的超级入口
请提前布局 Star Trek突破链游全新玩法,市场热度持续高涨
怎样读取Excel表格到数据库
四张图弄懂matplotlib的一些基本用法