{"record":{"id":"44d7cb53986f9334","repo":"go-delve/delve","slug":"debug-addr-section-not-present","errorCode":null,"errorMessage":"debug_addr section not present","messagePattern":"debug_addr section not present","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/dwarf/godwarf/addr.go","lineNumber":56,"sourceCode":"\n// GetSubsection returns the subsection of debug_addr starting at addrBase\nfunc (addr *DebugAddrSection) GetSubsection(addrBase uint64) *DebugAddr {\n\tif addr == nil {\n\t\treturn nil\n\t}\n\treturn &DebugAddr{DebugAddrSection: addr, addrBase: addrBase}\n}\n\n// DebugAddr represents a subsection of the debug_addr section with a specific base address\ntype DebugAddr struct {\n\t*DebugAddrSection\n\taddrBase uint64\n}\n\n// Get returns the address at index idx starting from addrBase.\nfunc (addr *DebugAddr) Get(idx uint64) (uint64, error) {\n\tif addr == nil || addr.DebugAddrSection == nil {\n\t\treturn 0, errors.New(\"debug_addr section not present\")\n\t}\n\toff := idx*uint64(addr.ptrSz) + addr.addrBase\n\treturn dwarf.ReadUintRaw(bytes.NewReader(addr.data[off:]), addr.byteOrder, addr.ptrSz)\n}\n","sourceCodeStart":38,"sourceCodeEnd":61,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/pkg/dwarf/godwarf/addr.go#L38-L61","documentation":"Error \"debug_addr section not present\" thrown in go-delve/delve.","triggerScenarios":"Thrown at pkg/dwarf/godwarf/addr.go:56 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"}