Skip to content

Feature request: Print backtrace in trace output #1610

@bgamari

Description

@bgamari

The builtins.trace function is quite handy for probing state buried deep within a derivation. However, while trying to understand a cross-compiling bug I've seen my trace output printed multiple times. Without a stack backtrace (e.g. what throw would produce with --show-trace) this is quite difficult to interpret.

Metadata

Metadata

Assignees

No one assigned

    Labels

    error-messagesConfusing messages and better diagnosticsfeatureFeature request or proposallanguageThe Nix expression language; parser, interpreter, primops, evaluation, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions