This is a read-only archive. Find the latest Linux articles, documentation, and answers at the new Linux.com!

Linux.com

Debug your shell scripts with bashdb

Posted by: Anonymous [ip: 66.92.117.138] on November 24, 2008 10:28 PM
bashdb 4.0 has been tested on bash 4.0 alpha as well as bash 3.2.x.

There are also similar debuggers for zsh and ksh; these are called zshdb and kshdb respectively. But in contrast to bashdb, both require fairly new releases (ksh93t from Nov 4 or zshdb 4.3.6-dev-0 or greater) .

As with bashdb, zshdb in available as a source package in Debian. To get releases from sources though go to the same place:
https://sourceforge.net/project/showfiles.php?group_id=61395

Or if you prefer from git: http://github.com/rocky/kshdb and http://github.com/rocky/zshdb

#

Return to Debug your shell scripts with bashdb