[opensuse] bash debugger
I recently ran into a lot of problems with my use of tcsh and was encouraged to learn bash. I find that there is a bash debugger http://bashdb.sourceforge.net/ I have always found using a debugger useful in learning a language in that you can easily determine what happens during each step. I do not find this listed in the available packages when I do a search under software manager. Is there a reason it is not included, or is it a repository that I have not discovered? Thanks Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Mar 17, 2015 at 12:09:20PM -0700, don fisher wrote:
I recently ran into a lot of problems with my use of tcsh and was encouraged to learn bash. I find that there is a bash debugger
I have always found using a debugger useful in learning a language in that you can easily determine what happens during each step. I do not find this listed in the available packages when I do a search under software manager. Is there a reason it is not included, or is it a repository that I have not discovered?
it came right up for me, provided by the packman repo -- I'm still on oS 13.1 so maybe you're on a different version or don't have packman enabled? I appreciate having this called to my attention, I'm going to have fun stepping through some of my bash scripts -- thanx! -- _|_ _ __|_|_ ._ o| |_(_)(_)|_| ||_)||< | -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 03/17/2015 02:06 PM, toothpik wrote:
On Tue, Mar 17, 2015 at 12:09:20PM -0700, don fisher wrote:
I recently ran into a lot of problems with my use of tcsh and was encouraged to learn bash. I find that there is a bash debugger
I have always found using a debugger useful in learning a language in that you can easily determine what happens during each step. I do not find this listed in the available packages when I do a search under software manager. Is there a reason it is not included, or is it a repository that I have not discovered?
it came right up for me, provided by the packman repo -- I'm still on oS 13.1 so maybe you're on a different version or don't have packman enabled?
I appreciate having this called to my attention, I'm going to have fun stepping through some of my bash scripts -- thanx!
I do not have the packman repo in my list. I am new. What ones should I have? Where do I get a list, and how do you install new repos? Thanks. Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* don fisher <hdf3@comcast.net> [03-17-15 17:36]:
On 03/17/2015 02:06 PM, toothpik wrote:
On Tue, Mar 17, 2015 at 12:09:20PM -0700, don fisher wrote:
I recently ran into a lot of problems with my use of tcsh and was encouraged to learn bash. I find that there is a bash debugger
I have always found using a debugger useful in learning a language in that you can easily determine what happens during each step. I do not find this listed in the available packages when I do a search under software manager. Is there a reason it is not included, or is it a repository that I have not discovered?
it came right up for me, provided by the packman repo -- I'm still on oS 13.1 so maybe you're on a different version or don't have packman enabled?
I appreciate having this called to my attention, I'm going to have fun stepping through some of my bash scripts -- thanx!
I do not have the packman repo in my list. I am new. What ones should I have? Where do I get a list, and how do you install new repos?
https://en.opensuse.org/Additional_package_repositories -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dne Út 17. března 2015 14:35:41, don fisher napsal(a):
On 03/17/2015 02:06 PM, toothpik wrote:
On Tue, Mar 17, 2015 at 12:09:20PM -0700, don fisher wrote:
I recently ran into a lot of problems with my use of tcsh and was encouraged to learn bash. I find that there is a bash debugger
http://bashdb.sourceforge.net/
I have always found using a debugger useful in learning a language in that you can easily determine what happens during each step. I do not find this listed in the available packages when I do a search under software manager. Is there a reason it is not included, or is it a repository that I have not discovered?
it came right up for me, provided by the packman repo -- I'm still on oS 13.1 so maybe you're on a different version or don't have packman enabled?
I appreciate having this called to my attention, I'm going to have fun stepping through some of my bash scripts -- thanx!
I do not have the packman repo in my list. I am new. What ones should I have? Where do I get a list, and how do you install new repos?
https://en.opensuse.org/Additional_package_repositories#Packman http://opensuse-community.org/ http://packman.links2linux.org/
Thanks. Don
HTH, Vojtěch -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/
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
On 03/17/2015 02:56 PM, Anton Aylward wrote:
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. I have always used gdb within emacs. and this appears to behave the same way. Being able to edit, debug an execute in the same emacs window has always appealed to me. Sort of the original SDE:-)
Don -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Anton Aylward
-
don fisher
-
Patrick Shanahan
-
toothpik
-
Vojtěch Zeisek