|
From: Rob W. <rcw...@gm...> - 2009-10-22 18:41:02
|
I tried using bashdb for the first time. I was impressed with how well it
was working on a 32000 line ./configure script.
It had some trouble on line 23000 with a for loop. I created a simple
testcase that causes the problem to appear:
#!/bin/bash
for i in /bin /etc; do
echo $i
done
The script executes successfully without the debugger, but when the debugger
is used it gives the following output:
$ bashdb bashdb_test.sh
bash debugger, release 4.0-0.3
Copyright 2002, 2003, 2004, 2006, 2007, 2008 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.
(/tmp/bashdb_test.sh:3):
3: for i in /bin /etc; do
bashdb<0> c
bashdb_test.sh: line 3: /bin: syntax error: operand expected (error token is
"/bin")
Debugged program terminated with code 1. Use q to quit or R to restart.
bashdb<1>
I'm using bashdb, release 4.0-0.3 on Fedora 11
I'm happy to assist with the debugging if there's anything I can help with.
Cheers,
Rob
|