3 ms·
Can you give a working example? This way you can watch a UNIX user "struggle/fail" as they "attempt" to debug a script using set -x, set -e, $?, LINENO, utilti
by pwdisswordfish2 6y ago
Can you give a working example?
This way you can watch a UNIX user "struggle/fail" as they "attempt" to debug a script using set -x, set -e, $?, LINENO, utilties like ktrace, strace, recordio, etc. and your argument will be taken seriously.
- pjmlp 6y agoSome people also insist to keep debuging with printf(), whereas the rest of the world is happily using InteliJ and friends.
- pwdisswordfish2 6y agoI just use gdb and ald. I heard IntelliJ is a memory hog and requires a powerful computer.
- pjmlp 6y agoInteliJ isn't the only option, hence why I mentioned "and friend".