
On 03/17/2015 03:09 PM, don fisher wrote:
I have always found using a debugger useful in learning a language in that you can easily determine what happens during each step.
Indeed. Me too That's why I use sh -x which I've been using since 1978 with the original shell, and of course bash --debugger Do RTFM for the capabilities that are available with this enabled. Its quite extensive. Also, it is possible to turn it on and off so that it only applies to parts of the code. You can of course explicitly give a init file that has macros, aliases and functions that allow tracing and analysis of what's going on, which is often more useful than the 'gdb' style of debugging. Again, if you RTFM you will find that there are many internal settings to do with execution and state and such that you can manipulate with custom functions. -- "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." -- Benjamin Franklin, 1759 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org