Authorization notice. Debroid is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA developer or agent tracking a field whose value changes unexpectedly during a user flow.
The problemSearching the codebase for every write to a field is slow, and the actual writer often depends on runtime order.
The outcomeThe agent gets a list of the code locations that touched the field during the flow, with stack traces, and can name the writer.
What you need first
- Java JDK 11+ with JAVA_HOME set
- Android SDK with adb in your PATH
- An Android app you can build and run, with debugging enabled
- A terminal where an AI agent can run commands
Steps
- Install the CLI with
curl -fsSL https://raw.githubusercontent.com/PatilShreyas/debroid/main/install.sh | bash - Set a field watchpoint with
debroid watch(access and modify are both on by default) - Run the user flow in the app, then collect events with
debroid poll --with-stacktrace(inferred, check the README) - Check the active points with
debroid points - Remove the watchpoint with
debroid remove-watchwhen finished
Prompt for your agent
Use the Debroid CLI to watch the field <field-name> in <class-name> of the app <package-name>. Run <user-flow> and then run `debroid poll --with-stacktrace`. Return each access or modification with its stack trace as JSON, and verify that the watched field name matches the one you set with `debroid points`.
Caveat. The README does not say how the watch command identifies a field beyond its signature, so confirm the field is picked up with `debroid points` before relying on the results.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for PatilShreyas/debroid and "Find which code writes a field that goes wrong"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer