Error occurs when stopping in the debugger
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.
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.
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...