Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: Termfu – A terminal debugger with custom layouts (github.com/jvalcher)
4 points by metadigm 4 months ago | hide | past | favorite
Hi HN,

First "Show HN" post!

Termfu is a fast, multi-language TUI debugger that allows you to create and switch between custom layouts.

I couldn't find a terminal debugger that fulfilled my particular needs and desires, so I create one that does for the most part. On the UI spectrum, it's somewhere between GDB's TUI and Vimspector. It currently supports GDB and PDB. It uses customizable, single-key bindings, which can be documented on screen via their (t)itles. All window data is scrollable. I decided to have some fun with the layout creation process, which uses "key-binding ASCII art" to set the header command title order as well as the window positions and size ratios. For example, a configuration for a single layout would look something like this:

  >h
  abc
  dEfghi
  
  >w
  jnnnll
  Mnnnll
  onnnll
  PPPqqq
It's still pretty rough around the edges, but it has become a valuable tool for me, so I thought I'd go ahead and post it here. Please note that I am far from a C expert. Somewhere along the line, I got it in my head that a C project is a rite of passage, so here we are. If I hadn't had Gookin's Ncurses guide to get me started, I might already be dead. That being said, feedback is very much appreciated.



Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: