Start Hang Capture
hang-startStarts a HangBuster capture session by streaming simulator logs for hang, stall, watchdog, and jetsam events, enabling you to reproduce an issue before parsing and ranking captured results.
Instructions
hang-start
Begin a HangBuster capture session. Spawns a detached simctl log stream filtered to
hang/stall/watchdog/jetsam events, writing to the session's raw log. Reproduce the hang,
then call hang-stop to parse, cluster, and rank the results.
Parameters
rawCapture(optional): capture all NDJSON log records, skip clustering, and gzip at stopnoGzip(optional): keep raw capture uncompressedudid(optional): simulator UDID (default: booted)predicate(optional): override the os_log predicateminHangMs(optional, default 250): drop hang events shorter than this at stop time
Returns
sessionId (pass to hang-stop / hang-get-details), pid, and guidance.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hang-start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | No | ||
| noGzip | No | ||
| minHangMs | No | ||
| predicate | No | ||
| rawCapture | No |