This formates a new way to trace / debug: freely Evaluate lines as usual, and upon demand CreateModules generates Function.
CreateModule was used in debugging a function far too complicated for "edit and run debugging"; frequently Mathematica free Evaluation of lines was needed to separate side-effects problems had upon one-another and output.
It is found in the PeriodicTableOfElements.nb suite