Skip to content

std.debug

Accepted

Accepted as a V1 namespace skeleton. Debug rendering APIs are deferred.

std.debug owns debug rendering contracts and debug-oriented helpers.

Expected Contents

  • debugging contracts such as a future Debug
  • debug rendering helpers
  • debug-only checks that are not test assertions
  • helpers for inspecting values in development builds
  • integration points with std.fmt when rendering policy overlaps

Debugging contracts belong in std. Core diagnostics and compiler reflection must not depend on user debugging implementations.

V1 Boundary

V1 does not accept a public Debug contract, debug renderer, debug print helper, or value-inspection API. Full debug rendering design is deferred to CEP-0048: Standard Text and Formatting.