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

Debugger can't step into the function sourced from another file after changing current directory

Open nbogol opened this issue 1 year ago • 4 comments

If I have a function get_something() defined in the common.sh and I am debugging other script:

#!/bin/bash source ./common.sh cd /path/to/somewhere/else something=$(get_something) # debugger won't step into common.sh get_something() function

If I do not change directory - debugger will step into correctly

nbogol avatar Dec 01 '24 13:12 nbogol