DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to pause at a suspect line and inspect its variables with Debroid

Set a line breakpoint, hit it, and read the object state the agent needs to test a hypothesis.

Short answer: Install the CLI with curl -fsSL https://raw.githubusercontent.com/PatilShreyas/debroid/main/install.sh | bash; then set a line breakpoint in the target class with debroid break; it defers automatically if the class is not loaded yet; start the flow that reaches that line, then wait for the pause with debroid poll. All steps.

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 forAn AI agent working on a logic bug in a specific Android class, where a developer wants the runtime values at one line.

The problemReading code alone can suggest several causes, and adding log statements means rebuilding and reinstalling the app for each guess.

The outcomeThe agent pauses the app at the chosen line, reads the locals and instance fields as JSON, and narrows the cause without rebuilding.

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

  1. Install the CLI with curl -fsSL https://raw.githubusercontent.com/PatilShreyas/debroid/main/install.sh | bash
  2. Set a line breakpoint in the target class with debroid break; it defers automatically if the class is not loaded yet
  3. Start the flow that reaches that line, then wait for the pause with debroid poll
  4. Read the values with debroid locals and debroid inspect --max-depth=2 (inferred, check the README)
  5. Step or resume with debroid step or debroid resume, and clear the point with debroid remove-break

Prompt for your agent

Use the Debroid CLI to set a breakpoint in <class-name> at line <line-number> of the app <package-name>. Trigger <user-action>, then run `debroid pause-state --pretty` and `debroid inspect --max-depth=2`. Return the local variables and relevant object fields as JSON, and verify that the paused line matches the breakpoint you set.

Caveat. Inspect output filters out static and synthetic fields by default, so pass `--include-static` or `--include-internal` only when you need them.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for PatilShreyas/debroid and "Pause at a suspect line and inspect its variables"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer