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

Debug your shell scripts with bashdb

Posted by: Anonymous [ip:] 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:

Or if you prefer from git: and


Return to Debug your shell scripts with bashdb