{"record":{"id":"79f8a57f3a6c085a","repo":"oven-sh/bun","slug":"no-target-found","errorCode":null,"errorMessage":"No target found.","messagePattern":"No target found\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/bun-debug-adapter-protocol/src/debugger/adapter.ts","lineNumber":1142,"sourceCode":"      targets,\n    };\n  }\n\n  #addTarget<T extends DAP.GotoTarget | DAP.StepInTarget>(target: T & { source: Source }): T {\n    const { id } = target;\n    this.#targets.set(id, target);\n    return target;\n  }\n\n  #getTarget(targetId: number): Target | undefined {\n    return this.#targets.get(targetId);\n  }\n\n  async goto(request: DAP.GotoRequest): Promise<void> {\n    const { targetId } = request;\n    const target = this.#getTarget(targetId);\n    if (!target) {\n      throw new Error(\"No target found.\");\n    }\n\n    const { source, line, column } = target;\n    const location = this.#generatedLocation(source, line, column);\n\n    await this.send(\"Debugger.continueToLocation\", {\n      location,\n    });\n  }\n\n  async evaluate(request: DAP.EvaluateRequest): Promise<DAP.EvaluateResponse> {\n    const { expression, frameId, context } = request;\n    const callFrameId = this.#getCallFrameId(frameId);\n    const objectGroup = callFrameId ? \"debugger\" : context;\n\n    const { result, wasThrown } = await this.evaluateInternal({\n      expression,\n      objectGroup,","sourceCodeStart":1124,"sourceCodeEnd":1160,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/packages/bun-debug-adapter-protocol/src/debugger/adapter.ts#L1124-L1160","documentation":"Error \"No target found.\" thrown in oven-sh/bun.","triggerScenarios":"Thrown at packages/bun-debug-adapter-protocol/src/debugger/adapter.ts:1142 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c5296ac459e8252d3cd702f3fbcbb0c249d95d5","analyzedAt":"2026-08-16T08:01:58.794Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}