Understand eDBG MCP runtime behavior
mainWhen running in MCP mode, eDBG follows specific operational rules:
- Mode Flags: The
--mcpflag automatically forces-prefer upprobe -show-vertual. - Lifecycle:
- eDBG starts in standby mode and does not launch the target app automatically.
- There is no automatic startup breakpoint.
- The first required step is to call
attach(package, library)to select a target.
- Tool Constraints:
- Once a target is selected but before the app is launched, you can only use:
attach,break,info_break,info_file, breakpoint management, andrun. - The
breaktool always treats the offset as a virtual offset (mapping internally tovbreak).
- Once a target is selected but before the app is launched, you can only use:
- Execution:
runlaunches the attached target app usingam start.continueblocks execution until a breakpoint is hit.quitresets the MCP context to the initial standby state but does not stop the MCP server.