gtcode

gtcode

Hi Elixir Community:

Just noodling with an idea for a debugger for Elixir and Phoenix. The initial 39 tests are passing, and there are plenty of dreams.

Is this worth pursuing? What functionality is most important to you?

For me, I’m dreaming of an innovative HITL-debugger integrated into an agentic workflow. This noodling from today is primarily slop-storming with Claude/Grok/Gemini/Cursor to flesh out the ideas. I even tried Jules but it wasn’t up to the task. The slop-of-consciousness is included in the repo via quasi-organized markdown files.

https://github.com/nshkrdotcom/ex_dbg

Per the README:

ElixirScope is a state-of-the-art introspection and debugging system for Elixir applications, with special focus on Phoenix web applications. It enables comprehensive tracking of processes, message passing, state changes, and function calls, with AI-assisted analysis capabilities.

Any feedback, especially critical feedback whether in terms of the ideas within, or redundancy/irrelevancy as such, is very much welcomed.

Showing Posts 1 to 8

gtcode

gtcode OP

  1. Redid the spec to match vision:

https://github.com/nshkrdotcom/ElixirScope/blob/main/docs/008-g-prd.md

  1. See funny highlight using Jules just now on it:

gtcode

gtcode OP

Just released v0.0.1 on hex.

Seems that Mermaid diags do not render on hex; will fix that in a later release:

Public API:

Please do take a look. Kindly provide feedback.

Eiji

Eiji

It requires an additional and very simple setup which is covered in the main documentation page, see: Rendering Mermaid graphs | ExDoc @ HexDocs

gtcode

gtcode OP

Great, thanks. Updated.

This is a fairly complex project. Is anyone else interested in working on it? I’m flexible on the product requirements. Development started only three days ago, thus major changes to features/arch are okay at this time.

gtcode

gtcode OP

The scope has expanded to include Graph Generators for CFG, DFG, CPG.Tests are passing for these features. >1,000 passing tests thus far.

Please see current docs on the github.

Next up is a broad stabilization effort via code review, cleanup, refactoring, warning analysis, runtime error fixes, and significant expansion of all AST-related tests, including CPG components. This milestone will mark the v0.0.2 release.

Once stable, CPG formalization efforts will commence (per docs on github:
“./CPG_*.md”)

As a mere mortal, collaboration would certainly help to accelerate the project. It’s a chance to build an innovative tool in Elixir. LMK! I lt would be a pleasure to formalize tasks for your convenience.

Aloha

gtcode

gtcode OP

The mockup from the last post had over 1,000 passing tests, but lib was over 40,000 LOC. The project became disorganized and unwieldly, thus reviewing new structures for the code base became necessary.

Here’s the revised structure:
https://github.com/nshkrdotcom/elixir_scope/blob/main/DEV.md

I am kindly requesting that a seasoned Elixir engineer review this proposed structure, and provide critical feedback.

gtcode

gtcode OP

Still iterating on the foundation. Learning so much. This is my first attempt to write a non trivial OTP application, so bear with me.

Humbly requesting for a seasoned OTP engineer to review the plans for building the infrastructure layer into the foundation. The ServiceRegistry and ProcessRegistry implementations are done but need test coverage. And the Infrastructure component implementation has not yet commenced. Here’s the proposed design (this link may break down the road):

https://github.com/nshkrdotcom/elixir_scope/blob/main/docs/FOUNDATION_OTP_IMPLEMENT_NOW/10_gemini_plan.md

The original project idea, which was a smaller scale development debugger, wouldn’t need all this infrastructure. So, this project has turned into an educational project more than anything. A reusable foundation for a large scale Elixir app would be nice, too, if possible.

I’d be super humbled if someone with relevant experience could review the above Infrastructure plan and provide constructive critical feedback. So far, all design has been the result of some googling, but mostly prompting Claude/Gemini/Grok.

gtcode

gtcode OP

Revisiting this brainslop (is that a thing? brainstorm slop?) over a year later. Eventually I’ll actually reduce and delete incomplete projects rather than start more. Here, I’ll reuse ElixirScope with some wisdom gained in the past year.

Now that AI has time to settle with the community, there are some fantastic libs to leverage for such a system. What I’m seeking to build, really, is a rapid code/system comprehension and introspection tool. Something like this: how can a human engineer quickly navigate a large Elixir codebase without having to futz with files? Automatic code analysis with useful info/viz, etc. are paramount.

Elixir’s creator has noted (roughly) that code review remains an important moat for a meat proxy. I have yet to see anything resembling a canonical forward-thinking realization of this vision for the BEAM in a state-of-the-art tool – does anyone know what’s in the works? (Surely this is not a unique vision by any means, and there’s a good chance that something great already exists and/or someone is working on this, which is part of the reason for the post).

Anyway, Reach comes to mind as one of the more valuable libs to leverage here:

https://github.com/nshkrdotcom/docs/blob/main/ElixirScope-Blueprint-2026-10/01-research/01-library-landscape.md

Here’s how it could come together, per this GPT-prompted diagram:

https://github.com/nshkrdotcom/docs/blob/main/ElixirScope-Blueprint-2026-10/diagrams/01-architecture.mmd

Given the sophistication of such a project with a large focus on UI/UX, my preference is for a TS/node frontend. I’ve had good success building LiveView to a headless endpoint for this purpose.

Always open to feedback/critiques/ideas. Thanks.

— All posts loaded —

Where Next? Top

Trending in Announcing Top

restlessronin
The repo is at GitHub - cyberchitta/openai_ex: Community maintained Elixir library for OpenAI API · GitHub. Docs are at OpenaiEx User Gu...
152 12366 136
New
type1fool
WebAuthnLiveComponent WebAuthnComponents See this post about renaming the package. Passwordless authentication for Phoenix LiveView app...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
ausimian
Castle is a package I put together to assist with building Elixir releases capable of being live-upgraded via the ‘official’ release hand...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
gushonorato
Hey everyone! :waving_hand: I’m excited to share a new library with you all: Magic Auth! It’s an authentication library for Phoenix proj...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

Other Trending Topics Top

budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
budgie
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with. But I don’t use it anymore. Serverless was the promis...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
Null-logic-0
What IDE or editor are you using for Elixir development? Personally, I use Zed, and I really like it, but sometimes I wish there were a ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews