Skip to main content

Module diagnostics

Module diagnostics 

Source
Expand description

Explicit diagnostics profiles. Local copy owns sanitized debugging context; issue reports default to registered identities and can opt into sanitized paths.

Structs§

BuildIdentity
Registered build and platform identities shared by both diagnostics profiles. Values must be product/build identifiers, never user-configured names.
ErrorDetails
Error facts supplied by the error owner, not collected from logs or state.
IssueDiagnostics
Issue-only allowlist. Paths require a separately sanitized, explicit opt-in projection; this type cannot receive local errors, logs or runtime state.
IssuePaths
Sanitized, immutable opt-in issue fields. Only a local diagnostics snapshot can create this projection; callers cannot inject raw path fields.
LocalCopy
Sanitized local-copy projection ready for clipboard delivery. Free-text values are flattened to one line and capped at 4,096 Unicode characters after redaction, with a visible truncation marker.
LocalDiagnostics
Shell-owned snapshot. Collection happens once outside render and copy. Raw private inputs have no serialization or Debug implementation.
RedactionContext
Private inputs used only to remove values, never serialized or printed. The shell supplies environment values without collecting them on copy. Text removes literal values, while HOME becomes ~. Registered identities and the named executable, shell and Azure CLI paths remain explicit exceptions, so common environment values cannot corrupt versions or paths.
RuntimeDetails
Named local runtime fields only. There is deliberately no full PATH field.

Enums§

LaunchKind
Launch classification captured by the shell, without spawning a process.