rocky / zshdb

gdb-like "trepan" debugger for zsh
GNU General Public License v3.0
291 stars 23 forks source link

Support whitespace in installation directory and in script file names #64

Closed jansorg closed 5 months ago

jansorg commented 5 months ago

I noticed issues when I tested zshdb on macOS, where paths like /Library/Application Support/... are common as installation directory. This PR fixes support for paths and filenames with whitespace to make it run on macOS for basic commands load, break, eval. I have not tested all commands. Most likely, there will be more places like these to fix.

(Thank for the new release! I only tested yesterday after the release was mode ...)

rocky commented 5 months ago

As before, many thanks!

rocky commented 5 months ago

By the way, we should see if bashdb has any of these problems too.

(I am still going to be short of time until the end of May. BlackHat Asia is mid-May and I have been busy preparing for a talk there - I am getting weekly coaching sessions). And then once I am there I'll be spending the next week touring Malaysia.)

jansorg commented 5 months ago

bashdb is working alright on macOS with my software and integration tests, so it should be fine. There may be some minor commands, which need a fix, I guess. No worries :) Enjoy your vacation and all the best for your talk!