मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग7.4k · #13232

hopper-debugger

यह क्या करती है

यह स्किल एजेंट को Mac और iPhone की कम्पाइल की हुई प्रोग्राम फ़ाइलों के लिए Hopper डिसअसेम्बलर से सवाल पूछने देती है, फिर उसे सोर्स, डीबगर और लॉग आउटपुट के साथ जोड़ती है। यह नेटिव ऐप्स की डीबगिंग करने वाले डेवलपर्स के लिए है।

कब इस्तेमाल करें

  • ✓जब कोई कम्पाइल किया हुआ macOS या iOS ऐप क्रैश होता है और आपको उसकी अंदरूनी संरचना देखनी है।
  • ✓जब आपको बाइनरी में Objective-C या Swift सिंबल खोजने हैं।
  • ✓जब आप डिसअसेम्बलर को डीबगर और फ़ोकस्ड टेस्ट के साथ मिलाना चाहते हैं।

Skill का लिंक

https://github.com/steipete/agent-scripts/blob/main/skills/hopper-debugger/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/steipete/agent-scripts/blob/main/skills/hopper-debugger/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“Hopper से पता लगाइए कि इस Mac ऐप का कौन-सा फ़ंक्शन क्रैश संभालता है, और वह क्या करता है समझाइए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट mcporter के ज़रिए Hopper सर्वर से जुड़ता है, हर अनुरोध में दस्तावेज़ का नाम भेजता है, और फिर मिले निष्कर्षों को स्थानीय सोर्स, लॉग या एक छोटे टेस्ट से मिलाता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Hopper Debugger

Use Hopper through mcporter as a queryable disassembler, then combine the result with local source, LLDB, logs, and focused repros.

Setup (one time)

Hopper 6.0+ ships its own MCP server. Do not install a third-party one.

mcporter config add hopper --scope home \
  --command "/Applications/Hopper Disassembler.app/Contents/MacOS/HopperMCPServer" \
  --description "Hopper Disassembler built-in MCP server (stdio)"

--scope home is required. The default scope is project, which writes config/mcporter.json into whatever repo you are standing in (untracked repo dirt, lost with the worktree).

Verify:

MCPORTER_LIST_TIMEOUT=25000 timeout 40 mcporter list hopper --brief

Call convention — the one that bites

Always pass arguments with --args. Never --params. mcporter accepts an unknown --params flag silently, drops the payload, and the call arrives with no arguments. Hopper then answers Document not found., which reads like a licensing or state problem and is not.

# WRONG — arguments silently dropped, fails with "Document not found."
mcporter call hopper.list_segments --params '{"document":"AppKit"}'

# RIGHT
mcporter call hopper.list_segments --args '{"document":"AppKit"}'

Related: the server does not fall back to the current document. A call with no document argument fails even when current_document returns a valid name. Pass document on every document-scoped call.

Document names come from list_documents and carry no .hop extension (window title AppKit.hop → document name AppKit).

If a call still fails, drive the server directly over stdio to see the raw JSON-RPC — this bypasses mcporter entirely and isolates who is at fault:

"/Applications/Hopper Disassembler.app/Contents/MacOS/HopperMCPServer" <<'EOF'
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"p","version":"1"}}}
{"jsonrpc":"2.0","method":"notifications/initialized"}
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_documents","arguments":{}}}
EOF

Licensing — do not misdiagnose

Hopper 6.x still uses the bundle id and preferences domain com.cryptic-apps.hopper-web-4. The absence of a hopper-web-6 domain does not mean the app is unlicensed. Check the real state in the About panel (Hopper Disassembler > About Hopper Disassembler); it prints the licensee, order id, and update-plan expiry. There is no Register/License menu item in Hopper 6.

Peter's license: order HOP140213-7833-95831, updates through 2027-05-17. The .hopperLicense file is in 1Password (Molty vault, document item "Hopper Disassembler License (HOP140213-7833-95831)"); load $one-password to retrieve it. Opening a .hopperLicense file with Hopper does not register it — Hopper disassembles it as a document.

Opening documents

open -a "Hopper Disassembler" /path/to/Binary

Small binaries import with no dialog. Large frameworks take minutes; poll instead of sleeping:

until mcporter call hopper.list_documents --output json 2>/dev/null | grep -qi "appkit"; do sleep 10; done

Dismiss any first-open dialog with an Accessibility press, never a synthetic click — clicking moves Peter's physical pointer:

osascript -e 'tell application "System Events" to tell process "Hopper Disassembler" to perform action "AXPress" of (button 1 of window 1)'

Apple frameworks

Apple frameworks live in the dyld shared cache, not on disk. Two routes:

  1. Prefer Peter's pre-made exports at ~/Library/CloudStorage/Dropbox/Hopper/ — .hop documents plus .m pseudo-code dumps for AppKit, AccessibilityKit, and others. Grepping the .m is often faster than any MCP round-trip (AppKit.m is 244 MB). Check provenance before trusting them for version work. These are snapshots; as of 2026-08 they predate macOS 26.6 and 27.0, and their class/method inventory differs from both live runtimes. Good for structure, unreliable for OS-version diffing.
  2. Extract fresh with /usr/lib/dsc_extractor.bundle (present on macOS; extracts all dylibs, multi-GB, slow).

Query workflow

  1. Start from the local source path or runtime symbol you are trying to explain.
  2. Find the symbol, then inspect one small target at a time:
mcporter call hopper.search_procedures --args '{"document":"AppKit","pattern":"addCursorRect"}' --output json
mcpor
अक्सर पूछे जाने वाले सवाल

अनुरोध में क्या होना चाहिए?

तर्क args विकल्प से भेजे जाने चाहिए, क्योंकि params विकल्प चुपचाप अनदेखा हो जाता है।

क्या किसी तीसरे पक्ष के सर्वर की ज़रूरत है?

नहीं। Hopper 6.0 और उसके बाद के वर्शन अपना MCP सर्वर साथ लेकर आते हैं, और स्किल कोई दूसरा इंस्टॉल न करने को कहती है।

क्या सर्वर अपने-आप दस्तावेज़ चुनता है?

नहीं। दस्तावेज़ का नाम न दिया जाए तो कॉल विफल होती है, भले ही कोई दस्तावेज़ खुला हो।

जानकारी

लेखक का मूल विवरण

Hopper debugging: macOS/iOS binaries, ObjC/Swift symbols, dyld, LLDB.

repo: steipete/agent-scripts

लोकप्रियता

GitHub स्टार
7.4k
रैंकिंग में स्थान
#13232
लाइसेंस
MIT
अपडेट की गई
30/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

beeper

7.4k

आपके एजेंट को आपकी लोकल Beeper चैट हिस्ट्री में संदेश खोजने और यह पता करने में मदद करती है कि कोई अस्पष्ट संकेत किस चैट या संपर्क का है।

डेटाडेटाबेस

cloudflare-registrar

7.4k

आपके एजेंट को Cloudflare Registrar पर डोमेन की कीमत और उपलब्धता जाँचने, और पुष्टि के बाद डोमेन रजिस्टर या सूचीबद्ध करने में मदद करती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

codexbar

7.4k

आपके एजेंट को Codex, Claude और Kimi जैसी AI सेवाओं पर आपका कितना उपयोग बचा है, यह जाँचने में मदद करती है, जिसमें सीमा, क्रेडिट और रीसेट का समय शामिल है।

AI और एजेंटएजेंट

create-cli

7.4k

आपके एजेंट को कमांड लाइन टूल के कमांड, फ़्लैग, हेल्प टेक्स्ट, आउटपुट और एरर इस तरह डिज़ाइन करने में मदद करती है कि वह लोगों और स्क्रिप्ट दोनों के लिए काम करे।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills