DEDUPED Hot AI repos, turned into use cases Get 5 a day

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.

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.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page