Trepan-Debuggers / zshdb

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

Fix line count calculation for files which are loaded multiple times #56

Closed jansorg closed 11 months ago

jansorg commented 11 months ago

In BashSupport Pro, some breakpoints could not be enabled because zshdb insisted that the file does not have that many lines.

In BashSupport Pro some files were loaded more than once with the load command. The load command did not support this. This PR adds a test and fixes the load command.