bashdb is pretty cool. Thank for providing this tool.
I am having an issue using it from a Docker container on CentOS 7.6.
bash debugger, bashdb, release 4.4-1.0.1
Copyright 2002-2004, 2006-2012, 2014, 2016-2018 Rocky Bernstein
This is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
/usr/share/bashdb/lib/setshow.sh: line 91: /dev/pts/0: Permission denied
/usr/share/bashdb/lib/setshow.sh: line 91: /dev/pts/0: Permission denied
/usr/share/bashdb/lib/setshow.sh: line 91: /dev/pts/0: Permission denied
/usr/share/bashdb/lib/setshow.sh: line 91: /dev/pts/0: Permission denied
$ ls -l /dev/pts/0
crw--w---- 1 root tty 136, 0 Dec 5 18:07 /dev/pts/0
I added my user account to the tty group but got the same behavior.
I have the containers launched with --net=host --cap-add=SYS_PTRACE --security-opt seccomp=unconfined. At least one of these allows GDB to run.
Would you please try with the current git sources. Specifically commit 1431462 or later?
I'm not seeing lib/setshow.sh line 91 in that and there have (just) been a number of changes recently. Thanks.