repl "added ${name}" info is excessive in debugger #816

Closed
opened 2025-04-30 15:41:53 +00:00 by pennae · 1 comment
Owner

Describe the bug

launching the debugger adds all visible variables to the debug env. if a large set is in scope that'll be quite obtrusive, and not exactly useful.

Steps To Reproduce

  1. nix repl -f '<nixpkgs>' --debugger
    [...]
    nix-repl> (x: throw "a") pkgs
    
  2. get spammed

Expected behavior

maybe something like added 27419 bindings instead, idk

nix --version output

nix (Lix, like Nix) 2.93.0-dev-pre20250318-3fcf823
## Describe the bug launching the debugger adds all visible variables to the debug env. if a large set is in scope that'll be quite obtrusive, and not exactly useful. ## Steps To Reproduce 1. ``` nix repl -f '<nixpkgs>' --debugger [...] nix-repl> (x: throw "a") pkgs ``` 2. get spammed ## Expected behavior maybe something like `added 27419 bindings` instead, idk ## `nix --version` output ``` nix (Lix, like Nix) 2.93.0-dev-pre20250318-3fcf823 ```
pennae added this to the 2.93 milestone 2025-04-30 15:41:53 +00:00
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/3099 ("libcmd: don't mention debug env values when added")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/3099", "number": 3099, "kind": "commit message"}], "cl_meta": {"3099": {"change_title": "libcmd: don't mention debug env values when added"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/3099](https://gerrit.lix.systems/c/lix/+/3099) ("libcmd: don't mention debug env values when added")
Sign in to join this conversation.
No milestone
No project
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#816
No description provided.