JuliaDebug / JuliaDebug/Cthulhu.jl

Better (or at least larger) callstack browser?

Open
#571 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Julia
Stars
709
Forks
46
Avg merge
1d 13h
Merged PRs (30d)
2

Description

Cthulhu.jl is great!

But its UI is a bit limited: I have a terminal window with 55 rows and 185 columns, yet Cthulhu's descend insists on squeezing itself into the bottom 11 rows. Is there a way to make it use more, e.g. I'd be happy if it just used half of my screen (so ~27 rows).

Alas my call stacks are also apparently too deeply nested, and there seems to be no way to do horizontal scrolling... And I get this which you might agree is not terribly helpful:
Screen Shot 2024-05-07 at 23 51 27

Is there a way to change this? I.e.

  • use more lines of my terminal
  • possible allow for horizontal scrolling

Out of completeness (and with zero expectations to get anything like that anytime soon): I guess in the end this is something for which a well implemented GUI widget would probably beat anything one can do in a terminal alone.

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.

Research direction

Start by examining the terminal UI used by Cthulhu.jl's descend callstack browser and how it determines its vertical and horizontal bounds. Define done as allowing the browser to use more terminal rows and providing horizontal scrolling for deeply nested call stacks; the issue names no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
cli, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.