From: John P. <joh...@gm...> - 2014-11-03 08:26:35
|
If the script to be debugged has set `shopt -s nullglob` before `bashdb-trace` is sourced, then bashdb either hangs at the line it is invoked with `_Dbg_debugger` or at the debugger quit/restart prompt if not. Perhaps the script's shell options could be saved and restored with: old_shopt=$(shopt -p) and: eval "$old_shopt" 2> /dev/null so that the debugger isn't affected by what the script's shell options are. Cheers John |