lldb_help
Access LLDB debugging command documentation and usage guidance for C/C++ programs. Get syntax, options, and explanations for specific commands like breakpoint or memory.
Instructions
Get help on LLDB commands and usage.
Provides:
- General LLDB usage (empty topic)
- Help on specific commands (e.g., 'breakpoint', 'memory')
- Command syntax and options
Args:
topic: Command or topic to get help on (empty for general help)
Returns:
str: Help text for the specified topic
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No |
Implementation Reference
- lldb_mcp_server.py:1252-1272 (handler)The handler function implementing the lldb_help tool. It runs the LLDB 'help' command with an optional topic and formats the output.async def lldb_help(topic: str = "") -> str: """Get help on LLDB commands and usage. Provides: - General LLDB usage (empty topic) - Help on specific commands (e.g., 'breakpoint', 'memory') - Command syntax and options Args: topic: Command or topic to get help on (empty for general help) Returns: str: Help text for the specified topic """ cmd = "help" if topic: cmd += f" {topic}" result = _run_lldb_command(cmd) return f"## LLDB Help{': ' + topic if topic else ''}\n\n```\n{result['output'].strip()}\n```"
- lldb_mcp_server.py:1242-1251 (registration)The MCP tool registration decorator for the lldb_help tool, specifying its name and annotations.@mcp.tool( name="lldb_help", annotations={ "title": "LLDB Help", "readOnlyHint": True, "destructiveHint": False, "idempotentHint": True, "openWorldHint": False, }, )