|
7 | 7 | Windows debugging capabilities through WinDBG/CDB integration: |
8 | 8 |
|
9 | 9 | ### Core Debugging Commands |
10 | | -- **Crash Dump Analysis**: `nexus_open_dump`, `nexus_close_dump` |
| 10 | +- **Crash Dump Analysis**: `nexus_open_dump_analyze_session`, `nexus_close_dump_analyze_session` |
11 | 11 | - **Remote Debugging**: `nexus_start_remote_debug`, `nexus_stop_remote_debug` |
12 | | -- **Command Execution**: `nexus_exec_debugger_command_async` (🔄 ASYNC QUEUE: Always returns commandId, use `nexus_debugger_command_status` for results) |
13 | | -- **Queue Management**: `nexus_debugger_command_status`, `nexus_debugger_command_cancel`, `nexus_list_debugger_commands` |
| 12 | +- **Command Execution**: `nexus_dump_analyze_session_async_command` (🔄 ASYNC QUEUE: Always returns commandId, use `nexus_dump_analyze_session_async_command_status` for results) |
| 13 | +- **Queue Management**: `nexus_dump_analyze_session_async_command_status`, `nexus_debugger_command_cancel`, `nexus_list_debugger_commands` |
14 | 14 |
|
15 | 15 | ### 🔄 Async Command Execution Workflow |
16 | 16 |
|
17 | 17 | **IMPORTANT**: All WinDBG commands use an async queue system with real-time notifications: |
18 | 18 |
|
19 | 19 | ```bash |
20 | | -1. Call nexus_exec_debugger_command_async {"command": "!analyze -v"} |
| 20 | +1. Call nexus_dump_analyze_session_async_command {"command": "!analyze -v"} |
21 | 21 | → Returns: {"commandId": "abc-123", "status": "queued", ...} |
22 | 22 |
|
23 | 23 | 2. Listen for real-time notifications: |
24 | 24 | → notifications/commandStatus: {"status": "executing", "progress": 25, ...} |
25 | 25 | → notifications/commandHeartbeat: {"elapsed": "30s", ...} (for long commands) |
26 | 26 | → notifications/commandStatus: {"status": "completed", "result": "ACTUAL_OUTPUT"} |
27 | 27 |
|
28 | | -3. OR poll nexus_debugger_command_status {"commandId": "abc-123"} |
| 28 | +3. OR poll nexus_dump_analyze_session_async_command_status {"commandId": "abc-123"} |
29 | 29 | → Returns: {"status": "executing", ...} (keep polling) |
30 | 30 | → Returns: {"status": "completed", "result": "ACTUAL_OUTPUT"} |
31 | 31 |
|
32 | 32 | 4. Extract the "result" field for your WinDBG command output |
33 | 33 | ``` |
34 | 34 |
|
35 | | -**⚠️ CRITICAL**: `nexus_exec_debugger_command_async` NEVER returns command results directly. You MUST use `nexus_debugger_command_status` to get results or listen for notifications! |
| 35 | +**⚠️ CRITICAL**: `nexus_dump_analyze_session_async_command` NEVER returns command results directly. You MUST use `nexus_dump_analyze_session_async_command_status` to get results or listen for notifications! |
36 | 36 |
|
37 | 37 | ## 📡 Real-Time Notifications |
38 | 38 |
|
|
0 commit comments