jwalsh / jwalsh/2048-cli-debug

Comprehensive programmatic debugger control framework

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## Overview
Build a framework for programmatic control of debuggers (LLDB, GDB, etc.) to enable:

- Automated program analysis and testing
- Debug any CLI/TUI application programmatically
- Extract and modify program state during execution
- Create MCP servers for debugging as a service

## Current Implementation
- `lldb_controller.py` - Generic LLDB control framework
- `debug_any_program.py` - Universal debugger with examples
- `debugger_tty_bridge.sh` - TTY/screen bridge for terminal programs

## Use Cases
- Algorithm analysis (call counts, recursion depth, performance)
- Automated testing with internal state verification
- Interactive debugging through external interfaces
- Program behavior analysis and optimization

## Status
Initial implementation committed but may be over-engineered for simple use cases.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.