Trepan-Debuggers / zshdb

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

** Internal debug error _Dbg_is_file(): null file to find #19

Open psprint opened 5 years ago

psprint commented 5 years ago

Hello, I'm receiving the following error when using _Dbg_debugger function:

zshdb-err-1

This doesn't happen if I simply run the function from the shell.

rocky commented 5 years ago

Well, is func() stored inside a file? This debugger generally expects to be debugging things inside a file since that's how zsh reports where you are.

If there is no file, the simplest thing to do is to create a temporary file with the script that was created on the fly.

What's the deal with issues #13 and #14? These seem to be things that were started and never finished.