4 ms·
Yes, yet 'set -x' in Bash is more useful than in any other languages I know. Because Bash is used to call utils so you see the partial trace of your script that
by renox 3y ago
Yes, yet 'set -x' in Bash is more useful than in any other languages I know.
Because Bash is used to call utils so you see the partial trace of your script that you want to see, not the inside of the tools/utils that you don't want to see.
In contrast in gdb for C++ you 'step' inside the STL implementation that most of the time you don't care about..
- SomeCallMeTim 3y agoUmmm.... A debugger won't "step in" unless you..."step in" instead of "step over." STL is also no longer a thing. There's only the C++ standard library. So I think you're dating your usage of C++ by ... a decade or more?