{"record":{"id":"06a54128ceb4f601","repo":"go-delve/delve","slug":"s-s","errorCode":null,"errorMessage":"%s - %s","messagePattern":"%s - %s","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"service/debugger/debugger.go","lineNumber":2519,"sourceCode":"\nfunc go11DecodeErrorCheck(err error) error {\n\tif !errors.Is(err, dwarf.DecodeError{}) {\n\t\treturn err\n\t}\n\n\tgover, ok := goversion.Installed()\n\tif !ok || !gover.AfterOrEqual(goversion.GoVersion{Major: 1, Minor: 11, Rev: -1}) || goversion.VersionAfterOrEqual(runtime.Version(), 1, 11) {\n\t\treturn err\n\t}\n\n\treturn errors.New(\"executables built by Go 1.11 or later need Delve built by Go 1.11 or later\")\n}\n\nconst NoDebugWarning string = \"debuggee must not be built with 'go run' or -ldflags='-s -w', which strip debug info\"\n\nfunc noDebugErrorWarning(err error) error {\n\tif errors.Is(err, dwarf.DecodeError{}) || strings.Contains(err.Error(), \"could not open debug info\") {\n\t\treturn fmt.Errorf(\"%s - %s\", err.Error(), NoDebugWarning)\n\t}\n\treturn err\n}\n\nfunc verifyBinaryFormat(exePath string) (string, error) {\n\tfullpath, err := filepath.Abs(exePath)\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n\n\tf, err := os.Open(fullpath)\n\tif err != nil {\n\t\treturn \"\", err\n\t}\n\tdefer f.Close()\n\n\t// Skip this check on Windows.\n\t// TODO(derekparker) exec.LookPath looks for valid Windows extensions.","sourceCodeStart":2501,"sourceCodeEnd":2537,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/service/debugger/debugger.go#L2501-L2537","documentation":"Error \"%s - %s\" thrown in go-delve/delve.","triggerScenarios":"Thrown at service/debugger/debugger.go:2519 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"}