* Lionel Elie Mamane <[EMAIL PROTECTED]> [2006-12-16 06:12:09 +0100]:
> Package: bashdb > Version: 3.1.0.7-1 > Severity: normal > > The documentation says: > > This method uses another script called bashdb which after taking its > own options takes the name of the script to debugged and the > arguments to pass to that script. Using this method, one would start > the debugger like this: > > bash path-to-bashdb/bashdb bashdb-options script script-arguments... > > > As with the first method, bash should be a debugger-enabled bash. If > bashdb has the path to bash in it at the top (e.g. via #!), and > bashdb can be found in your program-search path, then this might be > equivalent to the above: > > bashdb bashdb-options script script-arguments... > > But neither of these works for giving script-arguments; they get > interpreted as arguments to bashdb. On the other hand, > > bashdb bashdb-options script -- script-arguments... > > or > > bashdb bashdb-options -- script script-arguments... > > seem to work. Lionel, The documentation is incorrect and will be adjusted in the next package release. bashdb --bash-opt -- myscript --myscript-opt or bashdb --bash-opt myscript -- --myscript-opt are the correct invocations. Regards, Alex. > -- System Information: > Debian Release: 4.0 > APT prefers unstable > APT policy: (500, 'unstable'), (1, 'experimental') > Architecture: amd64 (x86_64) > Shell: /bin/sh linked to /bin/bash > Kernel: Linux 2.6.18-3-amd64 > Locale: LANG=fr_LU.UTF-8, LC_CTYPE=fr_LU.UTF-8 (charmap=UTF-8) > > Versions of packages bashdb depends on: > ii bash 3.1dfsg-8 The GNU Bourne Again SHell > ii emacsen-common 1.4.17 Common facilities for all emacsen > > bashdb recommends no packages. > > -- no debconf information > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]