Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我只是想知道set -xBash forTCL 中是否存在类似的东西,它允许我遵循脚本的流程,然后帮助我调试它。
set -x
简单的:
trace add execution source enterstep {apply {{cmd op} {puts "+ $cmd"}}} source yourfile.tcl