Skip to main content

Module debug

Module debug 

Source
Expand description

Debug utilities for tracing compilation.

This module provides tools for debugging and understanding the compilation process, including intermediate state tracking, step-by-step tracing, and detailed logging.

Structs§

CompilationStep
A single step in the compilation process.
CompilationTrace
Compilation trace for debugging.
CompilationTracer
Compilation tracer that can be enabled/disabled.
StepState
Snapshot of compiler state at a specific step.

Functions§

print_context_state
Print the compiler context state for debugging.
print_graph_diff
Diff two graphs and print the differences.
print_graph_state
Print the graph state for debugging.