{"record":{"id":"c6935152ee875b97","repo":"go-delve/delve","slug":"unable-to-load-dwarf-tree-no-dwarf-information-pr","errorCode":null,"errorMessage":"unable to load DWARF tree: no DWARF information present","messagePattern":"unable to load DWARF tree: no DWARF information present","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/dwarf/godwarf/tree.go","lineNumber":95,"sourceCode":"\n// Tree represents a tree of dwarf objects.\ntype Tree struct {\n\tEntry\n\ttyp      Type\n\tTag      dwarf.Tag\n\tOffset   dwarf.Offset\n\tRanges   [][2]uint64\n\tChildren []*Tree\n}\n\n// LoadTree returns the tree of DIE rooted at offset 'off'.\n// Abstract origins are automatically loaded, if present.\n// DIE ranges are bubbled up automatically, if the child of a DIE covers a\n// range of addresses that is not covered by its parent LoadTree will fix\n// the parent entry.\nfunc LoadTree(off dwarf.Offset, dw *dwarf.Data, staticBase uint64) (*Tree, error) {\n\tif dw == nil {\n\t\treturn nil, errors.New(\"unable to load DWARF tree: no DWARF information present\")\n\t}\n\trdr := dw.Reader()\n\trdr.Seek(off)\n\n\te, err := rdr.Next()\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tr := entryToTreeInternal(e)\n\tr.Children, err = loadTreeChildren(e, rdr)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\n\terr = r.resolveRanges(dw, staticBase)\n\tif err != nil {\n\t\treturn nil, err\n\t}","sourceCodeStart":77,"sourceCodeEnd":113,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/pkg/dwarf/godwarf/tree.go#L77-L113","documentation":"Error \"unable to load DWARF tree: no DWARF information present\" thrown in go-delve/delve.","triggerScenarios":"Thrown at pkg/dwarf/godwarf/tree.go:95 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"}