{"record":{"id":"994c268886541535","repo":"zed-industries/zed","slug":"e-994c26","errorCode":null,"errorMessage":"{e:?}","messagePattern":"\\{e:\\?\\}","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/extension_host/src/wasm_host/wit.rs","lineNumber":1070,"sourceCode":"        &self,\n        store: &mut Store<WasmState>,\n        adapter_name: Arc<str>,\n        task: DebugTaskDefinition,\n        user_installed_path: Option<PathBuf>,\n        resource: Resource<Arc<dyn WorktreeDelegate>>,\n    ) -> Result<Result<DebugAdapterBinary, String>> {\n        match self {\n            Extension::V0_8_0(ext) => {\n                let dap_binary = ext\n                    .call_get_dap_binary(\n                        store,\n                        &adapter_name,\n                        &task.try_into()?,\n                        user_installed_path.as_ref().and_then(|p| p.to_str()),\n                        resource,\n                    )\n                    .await?\n                    .map_err(|e| anyhow!(\"{e:?}\"))?;\n\n                Ok(Ok(dap_binary))\n            }\n            Extension::V0_6_0(ext) => {\n                let task: latest::DebugTaskDefinition = task.try_into()?;\n                let dap_binary = ext\n                    .call_get_dap_binary(\n                        store,\n                        &adapter_name,\n                        &task.into(),\n                        user_installed_path.as_ref().and_then(|p| p.to_str()),\n                        resource,\n                    )\n                    .await?\n                    .map_err(|e| anyhow!(\"{e:?}\"))?;\n\n                Ok(Ok(dap_binary.into()))\n            }","sourceCodeStart":1052,"sourceCodeEnd":1088,"githubUrl":"https://github.com/zed-industries/zed/blob/f4178619acd0d47ea1f76a2025c42962c6d6638c/crates/extension_host/src/wasm_host/wit.rs#L1052-L1088","documentation":"A pass-through of the error returned by an extension's get_debug_adapter_binary implementation ({e:?} is the Debug rendering of the inner error, likely a Result::Err(String) from the extension or a task conversion failure via try_into). The host simply relays the extension-produced failure for the requested debug adapter, so the root cause is inside the extension's DAP binary resolution logic.","triggerScenarios":"Thrown at crates/extension_host/src/wasm_host/wit.rs:1070 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the debugged extension's get_debug_adapter_binary implementation — download path, architecture detection, or executable resolution failed","Report the error string to the user alongside the adapter name so they can fix the extension config","Ensure the DebugTaskDefinition converts cleanly (try_into) — malformed task definitions surface here too"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f4178619acd0d47ea1f76a2025c42962c6d6638c","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}