Mathematica 9 is now available

Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

traceUtils
Author

Christopher R. Stover
Old MathSource #

0207-920
Revision date

1995-11-14
Description

traceUtils.m is a Mathematica package defining the functions tracePrintIndexed and tracePrintStack. traceUExamples.nb is a Mathematica notebook illustrating the features of these functions.

tracePrintIndexed is an enhancement of TracePrint that, among other things: * allows not printing steps that belong to trivial evaluation sub-chains; * indicates which steps begin new sub-chains and which replace previous steps; * provides step numbers that can be used to "zoom in" on a portion of a shallow trace; and * offers options similar to TraceOn and TraceOff that work inside of each other.

tracePrintStack will print the evaluation stack as well as the current step at every step of the trace, or at one or more selected steps.
Subject

*Mathematica Technology > Kernel
Keywords

tracePrintIndexed, tracePrintStack, Trace, Stack, debug
Downloads Download Wolfram CDF Player

Download
traceUExamples.nb (73.4 KB) - Example/documentation notebook for traceUtils.m
Download
traceUtils.m (18.6 KB) - Mathematica package

Files specific to Mathematica 2.2 version:
Download
traceUExamples.ma (33.6 KB) - Example/documentation notebook for traceUtils.m
Download
traceUtils.m (18.6 KB) - Mathematica package