SE450: Tracing software [16/16] Previous pageContents

I will discuss the use of this tracing class: file:stdlib/Trace.java [source] [doc-public] [doc-private]

Some useful option include the following:

Trace.graphvizShowSteps (true);
Trace.graphvizShowStepsOfMethod ("methodName");
Trace.showBoxedPrimitivesAsPrimitive (false);
Trace.showStringsAsPrimitive (false);
Trace.setGraphizOutputFilenamePrefixRelativeToUserHome ("Desktop/Trace/trace-");
Trace.run ();
Trace.draw ();

Previous pageContents