TetherDebugExtension<T extends Tether> extension

Extension providing zero-overhead debugging capabilities to declarative Tether nodes.

on
  • T

Properties

debugCreationLocation → String?

Available on T, provided by the TetherDebugExtension extension

The exact code location where this tether was instantiated in debug mode.
no setter
debugLabel ↔ String?

Available on T, provided by the TetherDebugExtension extension

A developer-defined label to identify this tether in debug mode.
getter/setter pair

Methods

debugTrace([String? label, int traceCount = 5]) → void

Available on T, provided by the TetherDebugExtension extension

Captures the current stack trace and assigns an optional label to this tether.
withDebugLabel(String label) → T

Available on T, provided by the TetherDebugExtension extension

Assigns a developer-defined debug label and returns this tether.