{"record":{"id":"3a4f5b29f612259c","repo":"oven-sh/bun","slug":"no-source-found","errorCode":null,"errorMessage":"No source found.","messagePattern":"No source found\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/bun-debug-adapter-protocol/src/debugger/adapter.ts","lineNumber":2542,"sourceCode":"    case \"startGroup\":\n      return \"start\";\n    case \"startGroupCollapsed\":\n      return \"startCollapsed\";\n    case \"endGroup\":\n      return \"end\";\n  }\n  return undefined;\n}\n\nfunction sourceToId(source?: DAP.Source): string | number {\n  const { path, sourceReference } = source ?? {};\n  if (path) {\n    return path;\n  }\n  if (sourceReference) {\n    return sourceReference;\n  }\n  throw new Error(\"No source found.\");\n}\n\nfunction sourceToPath(source?: DAP.Source | string): string {\n  if (typeof source === \"string\") {\n    return source;\n  }\n  if (source) {\n    const { path } = source;\n    if (path) {\n      return path;\n    }\n  }\n  throw new Error(\"No source found.\");\n}\n\nfunction callFrameToId(callFrame: JSC.Console.CallFrame): string {\n  const { url, lineNumber, columnNumber } = callFrame;\n  return `${url}:${lineNumber}:${columnNumber}`;","sourceCodeStart":2524,"sourceCodeEnd":2560,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/packages/bun-debug-adapter-protocol/src/debugger/adapter.ts#L2524-L2560","documentation":"Error \"No source found.\" thrown in oven-sh/bun.","triggerScenarios":"Thrown at packages/bun-debug-adapter-protocol/src/debugger/adapter.ts:2542 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"}