bashsupport-pro icon indicating copy to clipboard operation
bashsupport-pro copied to clipboard

Error occurs when stopping in the debugger

Open wellic opened this issue 9 months ago • 2 comments

An error occurs when stopping in the debugger on breakpoints. It is after updating to the latest 4.6.0.243.

Error: Error in file: '../../../../../../../../../.local/share/JetBrains/PyCharm2024.3/bashsupport-pro/bashdb/5.2/share/bashdb/lib/hook.sh:1', func: _Dbg_hook_enter_debugger, line: 1, err: 1

System: Linux, PyCharm 2024.3.4

How can this be fixed locally.

wellic avatar Mar 19 '25 08:03 wellic

I found out that this error occurs in some cases when using arrays and regular expressions. Similar to. if [[ " $array[*]" =~ $input_param ]] ...

After replacing the Issue disappeared. If you want, you can close this issue.

wellic avatar Mar 19 '25 14:03 wellic

Thanks for reporting! The bundled bashdb is the same in version 4.6.0 and 4.5.x, so it shouldn't be a new issue.

I'll test debugging with the expression you provided. Perhaps it's triggering a bug in bashdb...

jansorg avatar Mar 21 '25 08:03 jansorg