{"record":{"id":"cf650b205be98c54","repo":"go-delve/delve","slug":"ebpf-is-not-supported","errorCode":null,"errorMessage":"eBPF is not supported","messagePattern":"eBPF is not supported","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/proc/breakpoints.go","lineNumber":575,"sourceCode":"\treturn BreakpointMap{\n\t\tM: make(map[uint64]*Breakpoint),\n\t}\n}\n\n// SetBreakpoint sets a breakpoint at addr, and stores it in the process wide\n// break point table.\nfunc (t *Target) SetBreakpoint(logicalID int, addr uint64, kind BreakpointKind, cond ast.Expr) (*Breakpoint, error) {\n\treturn t.setBreakpointInternal(logicalID, addr, kind, 0, cond)\n}\n\n// SetEBPFTracepoint will attach a uprobe to the function\n// specified by 'fnName'.\nfunc (t *Target) SetEBPFTracepoint(fnName string) error {\n\t// Not every OS/arch that we support has support for eBPF,\n\t// so check early and return an error if this is called on an\n\t// unsupported system.\n\tif !t.proc.SupportsBPF() {\n\t\treturn errors.New(\"eBPF is not supported\")\n\t}\n\tfns, err := t.BinInfo().FindFunction(fnName)\n\tif err != nil {\n\t\treturn err\n\t}\n\n\t// Get information on the Goroutine so we can tell the\n\t// eBPF program where to find it in order to get the\n\t// goroutine ID.\n\trdr := t.BinInfo().Images[0].DwarfReader()\n\trdr.SeekToTypeNamed(\"runtime.g\")\n\ttyp, err := t.BinInfo().findType(\"runtime.g\")\n\tif err != nil {\n\t\treturn errors.New(\"could not find type for runtime.g\")\n\t}\n\tvar goidOffset int64\n\tswitch t := typ.(type) {\n\tcase *godwarf.StructType:","sourceCodeStart":557,"sourceCodeEnd":593,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/pkg/proc/breakpoints.go#L557-L593","documentation":"Error \"eBPF is not supported\" thrown in go-delve/delve.","triggerScenarios":"Thrown at pkg/proc/breakpoints.go:575 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-31T22:30:34.772Z"}