Author Topic: Bash Debug  (Read 198 times)

pbrightly

  • Community Member
  • Posts: 38
  • Hero Points: 6
Bash Debug
« on: May 07, 2021, 01:14:11 am »
Has anyone looked at how one would debug bash scripts in SlickEdit?  I think there's wrappers to bashdb and it would be awesome to see source-level debug for bash, like we have for other languages like python.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1535
  • Hero Points: 140
Re: Bash Debug
« Reply #1 on: May 07, 2021, 02:31:20 pm »
AFAIK, we haven't.  Bashdb was definitely under my radar.  I'll go ahead open a feature request for it.

Unfortunately, I don't think its use of gdb command syntax gives us a leg up given that we already support gdb.  For our gdb debugging support, we use the -mi machine interface commands, whose syntax is different, and not made for interactive use by people.


pbrightly

  • Community Member
  • Posts: 38
  • Hero Points: 6
Re: Bash Debug
« Reply #2 on: May 07, 2021, 02:57:14 pm »
Well, since Slick is my first love.. I want to wean myself off VSCode.  That's where I got the idea. I've recently remote-debugged bash in a plugin ("Bash Debug") that provides source-debugging like any other language, using bashdb under the covers.  No more stupid unreadable +x output.  It was...euphoric.   :D