mainThe GNU Bourne-Again SHell - Support: sr #109466, [Feature request] A debugger like...

 
 

sr #109466: [Feature request] A debugger like gdb

Submitter:  Vercile <hvbcy>
Submitted:  Sat 24 Feb 2018 04:30:10 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 06 Mar 2018 09:14:13 PM UTC, comment #1: 

The bash debugger exists, and is a separate project: http://bashdb.sourceforge.net/ .

Chet Ramey <chet>
Group administrator
Sat 24 Feb 2018 04:30:10 PM UTC, original submission:  

Hi,

First of all thanks for the software and scripting language.

My feature request is one of necessity. I find it quite difficult to debug bash scripts and maintain a longer one.

Since bash does have a scripting language it would be great if it has a debugger or debugging mode in which one could step in and out of functions, take a look at the env and set break points - basically everything gdb has.

I believe it would be a great boon to devs, scripters, sysadmins - basically anybody using bash.

I am aware of set +x, but that doesn't provide breakpoint and is "just" a verbose logger.

Cheers

Vercile <hvbcy>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by chet (Posted a comment)
  • -email is unavailable- added by hvbcy (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-06 chet StatusNone Done

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code