https://tracker.debian.org/pkg/bashdb BASH debugger A gdb-like debugger for BASH. Start your script, specifying anything that might affect its behavior. This is a complete rewrite of the Korn Shell debugger from Bill Rosenblatt's `Learning the Korn Shell', published by O'Reilly and Associates (ISBN 1-56592-054-6) with changes by Michael Loukides and Cigy Cyriac. 1. Summary of the BASH Debugger. Git Bash is packaged with additional commands that can be found in the /usr/bin directory of the Git Bash emulation. also ddd couldn't even find the debugger 如何使用gpg解密目录中的多个文件? php5不能与nginx 1.9.3一起工作 需要帮助一些IIS7 web.config压缩设置 批量文件创build远程重新启动服务 将大file upload到Google云端硬盘时出现无法解决的503错误 Mac OS X上的Webdav故障排除 如何在server.password中创buildKeyStorePass在jboss中 启用Exchange 2010邮箱审核的影响是什么? I got the script to work perfectly in interactive shells but for non interactive shells it doesn't prevent its execution. Port details: bashdb Source-code debugger for bash 5.0.1.1.0 devel =0 5.0.1.1.0 Version of this port present on the latest quarterly branch. Change default executable file interpreter? /usr/share/bashdb/bashdb-main.inc: No such file or directory -bash: warning: cannot start debugger For example when you start bashdb yourself with bash --debugger or set shopt -s extdebug . Git Bash can actually provide a fairly robust shell experience on Windows. The top line of the trace doesn’t really represent a call, it’s just where we currently are in the program. Because bash lacks some namespace properties, bashdb will include some functions and symbols into the global namespace which your script can get at. 接下来,我们需要调试功能,要安装bashdb,sudo apt-get install bashdb,然后装完后按照网上说法,bash support插件默认bash的调试设置路径和bashdb真正的安装目录不一致,建立一个链接就好了。 接下来,我们需要调试功能,要安装bashdb,sudo apt-get install bashdb,然后装完后按照网上说法,bash support插件默认bash的调试设置路径和bashdb真正的安装目录不一致,建立一个链接就好了。 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. bashdb also uses some environment variables; it uses the DBG_ prefix for its own, and relies on some standard bash ones that begin with … License: GPL-2 The tests and tools which are included in PoDoFo are licensed under the GPL. However, this code now depends on a number of debugging-support features custom to bash. I probably can't help you unless you include this: 1 (my code is just an example) and 2 does not serve my purpose since I wish to prevent cases where the command is allowed to be used … (bashdb has enough bugs on its own that you don't need to find bugs elsewhere to ascribe to it).I've just reported this in bugs-bash@gnu.org . Maintainer: yuri@FreeBSD.org Port Added: 2018-07-31 00:50:18 Last Update: 2019-10-13 21:55:20 SVN Revision: 514422 License: GPLv2 Description: The Bash Debugger Project is a source-code debugger for bash that follows the gdb command syntax. Re: bash debugger um - i couldn't really get this to work and the recompiled bash was messing things up - any suggestions? This is based on another question of mine I am trying to prevent executions of certain commands using a script. Whenever I run quick tests for bash scripts, I usually don't want to add the shebang at the top of the file, so whenever I run them, it seems like bashdb is the default interpreter and since I don't have it installed, it detects that it's missing and then goes for bash. That last line is an artifact of invoking bash from the bashdb script rather than running bash --debugger. _____ From: Michał
@ericj Um, I just deubgged the source code of bashdb too; and it doesn't look like a problem in bashdb, but in bash itself, possibly in shell.c around line 724. New Package CVS Request ===== Package Name: bashdb Short Description: BASH debugger, the BASH symbolic debugger Owners: roma Branches: F-9 F-10 F-11(devel) Comment 4 Kevin Fenzi 2009-03-01 00:29:44 UTC