Add compact stack trace support #782

Open
opened 2025-03-31 18:54:54 +00:00 by jade · 2 comments
Owner

Use case: #614

I want to be able to have warnings print short stack traces (i.e. probably not include any source code in them, etc). They should be one line per frame.

Use case: https://git.lix.systems/lix-project/lix/issues/614 I want to be able to have warnings print short stack traces (i.e. probably not include any source code in them, etc). They should be one line per frame.
jade added this to the Error reporting project 2025-03-31 18:54:54 +00:00

unsure if this is the correct issue for this but anygay:
I'm getting a trace warning (either in my repo or while evaluating nixpkgs) without any information about where it originates, which is kinda really annoying:

trace: evaluation warning: 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system'

having a stack trace (or any location for that matter) would be really nice

unsure if this is the correct issue for this but anygay: I'm getting a trace warning (either in my repo or while evaluating nixpkgs) without *any* information about where it originates, which is ~~kinda~~ really annoying: ``` trace: evaluation warning: 'system' has been renamed to/replaced by 'stdenv.hostPlatform.system' ``` having a stack trace (or any location for that matter) would be really nice
Author
Owner

--debugger-on-trace. unfortunately our cli framework prints this setting in a very unhelpful place so it's utterly not discoverable

--debugger-on-trace. unfortunately our cli framework prints this setting in a very unhelpful place so it's utterly not discoverable
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#782
No description provided.