Add p [var] command to print all or selected frame variables#408
Merged
Conversation
…add tests Builds on #339 by Eric Berquist. Uses output_stream(state) like other commands, prints an error for variables not present in the frame, and adds a testset. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
KristofferC
force-pushed
the
kc/p-command
branch
from
July 18, 2026 12:38
54590de to
0c06b8e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Picks up #339 by @berquist (original commit preserved) and adds a polish commit on top:
output_stream(state)like the other commands so output respects the terminal's color settingspprints all variables in the current frame (same asfr),p x [y ...]prints only the requested ones.Fixes #313
Closes #339
🤖 Generated with Claude Code