cs1302-tracer

Compile and trace Java programs to inspect their execution, stack frames, and heap. The tracer emits JSON for tools such as code visualizers; it does not display an interactive visualization itself. To draw a trace as a memory diagram, see Show a trace in a visualizer.

Choose your path

You want to… Start here Then read
Decide whether a program is safe to trace Why the tracer is not a sandbox Runner contract, inspection policies
Run a Java example locally Install → First trace Read a trace
Teach or inspect shared references and mutation Trace shared references How a trace represents execution
Teach or inspect repeated execution Trace a loop How a trace represents execution
Trace your own program Tracing recipes Troubleshooting, CLI defaults and exit statuses
Draw a trace as a memory diagram Show a trace in a visualizer Two representations of the same trace
Consume JSON or process jobs Batch tutorial JSON output, batch protocol, bounded results
Embed tracing in Java Java tutorial Java recipes, API reference guide, 3.x migration
Look up a term used in these pages Glossary How a trace represents execution
Read API documentation without a network connection Offline API documentation Download and verify a release bundle before going offline.
Inspect licensing or project dependencies Project license Resolved dependencies and declared licenses
Contribute a change Development workflow Architecture, documentation maintenance
Prepare or publish a release Release runbook Guide archives, Javadoc artifacts

The tracer executes guest programs. Use trusted programs locally; hosted untrusted submissions require the separate runner contract.

The version menu distinguishes development documentation from released versions. Documentation snapshots start at 3.2.1; earlier releases are not backfilled. Development documentation follows the working source. A prepared release snapshot can appear as unreleased in a local preview before that release is published.

First-party code and documentation use the MIT license. The dependency reference separates runtime and test dependencies and records their declared licenses. The CLI's show-licenses command displays the separate bundled runtime notices, which retain their original terms.