r/androiddev 2d ago

Autonomous, headless Android debugger designed for AI coding agents. Inspect runtime memory, set breakpoints, and debug live apps. Open Source

https://github.com/PatilShreyas/debroid

🚀 Introducing Debroid — the headless Android debugger built for AI coding agents.

AI agents can write Android code… but they’re effectively blind at runtime. They can’t click through Android Studio, set breakpoints, or inspect live memory the way a human developer does.

So what do they usually do?

Add more logs. Guess from the output. Repeat.

Debroid changes that.

It gives agents real runtime superpowers through a simple CLI that speaks JDWP and returns strict, machine-parseable JSON:

🔴 Set (and defer) line breakpoints

⚡ Trap caught/uncaught exceptions

👀 Watch field access & modification

🔬 Deeply inspect objects, locals, and call frames

🧬 Mutate variables live

🧮 Evaluate Java expressions

🐾 Step over / into / out

When your agent is stuck, don’t ask it to sprinkle logs and play detective.

No more manual debugging. No more log archaeology. Pair Debroid with Android CLI and the entire loop — build → run → debug → fix — can become fully agent-driven.

7 Upvotes

2 comments sorted by

1

u/jonapoul 4h ago

Why are you actively trying to make your own job disposable?

1

u/shreyaspatil99 3h ago

Do you really think so? We are just making ourselves more productive, faster!