{"record":{"id":"aab2913a30955ed7","repo":"go-delve/delve","slug":"could-not-find-breakpoint-with-id-d","errorCode":null,"errorMessage":"could not find breakpoint with ID = %d","messagePattern":"could not find breakpoint with ID = (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/proc/breakpoints.go","lineNumber":1051,"sourceCode":"\treturn false\n}\n\nfunc totalHitCountByName(lbpmap map[int]*LogicalBreakpoint, s string) (uint64, error) {\n\tfor _, bp := range lbpmap {\n\t\tif bp.Name == s {\n\t\t\treturn bp.TotalHitCount, nil\n\t\t}\n\t}\n\treturn 0, fmt.Errorf(\"could not find breakpoint named %q\", s)\n}\n\nfunc totalHitCountByID(lbpmap map[int]*LogicalBreakpoint, id int) (uint64, error) {\n\tfor _, bp := range lbpmap {\n\t\tif bp.LogicalID == int(id) {\n\t\t\treturn bp.TotalHitCount, nil\n\t\t}\n\t}\n\treturn 0, fmt.Errorf(\"could not find breakpoint with ID = %d\", id)\n}\n\n// BreakpointState describes the state of a breakpoint in a thread.\ntype BreakpointState struct {\n\t*Breakpoint\n\t// Active is true if the condition of any breaklet is met.\n\tActive bool\n\t// Stepping is true if one of the active breaklets is a stepping\n\t// breakpoint.\n\tStepping bool\n\t// SteppingInto is true if one of the active stepping breaklets has Kind ==\n\t// StepBreakpoint.\n\tSteppingInto                  bool\n\tSteppingIntoRangeOverFuncBody bool\n\t// CondError contains any error encountered while evaluating the\n\t// breakpoint's condition.\n\tCondError error\n}","sourceCodeStart":1033,"sourceCodeEnd":1069,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/pkg/proc/breakpoints.go#L1033-L1069","documentation":"Error \"could not find breakpoint with ID = %d\" thrown in go-delve/delve.","triggerScenarios":"Thrown at pkg/proc/breakpoints.go:1051 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":"a23773e6c31361e43246bc43a424ee009679b174","analyzedAt":"2026-08-31T15:12:45.221Z","schemaVersion":2},"datasetVersion":"2026-08-31T19:17:28.585Z"}