HenrikBengtsson / CBI-software

A Scientific Software Stack for HPC (CentOS oriented)
https://wynton.ucsf.edu/hpc/software/software-repositories.html
5 stars 2 forks source link

bashdb: A debugger for Bash script #11

Closed HenrikBengtsson closed 3 years ago

HenrikBengtsson commented 4 years ago

Add a module for 'bashdb':

It apparently supports stepping through Bash scripts

HenrikBengtsson commented 4 years ago

Note: There a different tarballs for different versions of bash, e.g. Bash 4 and Bash 5.

HenrikBengtsson commented 4 years ago
$ PREFIX=$HOME/software/bashdb-4.4-1.0.1
$ ./configure --prefix="$PREFIX" --with-bashdb-main=.
$ make
$ make install

It'll fail make check though, cf. https://sourceforge.net/p/bashdb/bugs/63/

HenrikBengtsson commented 3 years ago
$ echo "Bash version: ${BASH_VERSION}"
Bash version: 4.2.46(2)-release

$ bash --version
GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2011 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.
HenrikBengtsson commented 3 years ago

Added. Installed on C4.