Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print positions in --debugger, instead of pointers #9913

Merged
merged 1 commit into from Feb 3, 2024

Conversation

9999years
Copy link
Contributor

@9999years 9999years commented Feb 3, 2024

The --debugger currently prints the pointers of source code positions, rather than the positions themselves.

Before:

0: while evaluating the attribute 'python311.pythonForBuild.pkgs'
0x600001522598

After:

0: while evaluating the attribute 'python311.pythonForBuild.pkgs'
/nix/store/hg65h51xnp74ikahns9hyf3py5mlbbqq-source/overrides/default.nix:132:27

   131|
   132|       bootstrappingBase = pkgs.${self.python.pythonAttr}.pythonForBuild.pkgs;
      |                           ^
   133|     in

@github-actions github-actions bot added the repl The Read Eval Print Loop, "nix repl" command and debugger label Feb 3, 2024
@9999years
Copy link
Contributor Author

TODO: Needs a changelog entry.

@edolstra edolstra merged commit 49cf090 into NixOS:master Feb 3, 2024
9 checks passed
@9999years 9999years deleted the debugger-positions branch February 3, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
repl The Read Eval Print Loop, "nix repl" command and debugger
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants