less paging support

Open
#983 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
ruby
Domain
cli, devtools

Research direction

The issue names no files or tests. Start by reproducing a very large object inspection in the debug REPL and compare the desired behavior with pry-rails's use of less. Define what should trigger pagination, how the pager should behave, and a testable completion condition before locating the relevant REPL code.

Written by the indexing model from the issue text.

Description

Your proposal
What is your idea?

When inspecting a large object, it could endlessly scroll for hundreds of lines on the screen. pry-rails incorporates less into the REPL so that very long inspections are paginated. How can we do that with this tool?

Dominant language
Ruby
Stars
1.3k
Forks
146
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ruby/debug

All issues in ruby/debug

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.