{"record":{"id":"bdff616da16e4d2c","repo":"go-delve/delve","slug":"empty-evaluation-string","errorCode":null,"errorMessage":"empty evaluation string","messagePattern":"empty evaluation string","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"service/dap/server.go","lineNumber":4736,"sourceCode":"//\t\"Expressions within {} are interpolated.\"\nfunc parseLogPoint(msg string) (bool, *logMessage, error) {\n\t// Note: All braces *must* come in pairs, even those within an\n\t// expression to be interpolated.\n\t// TODO(suzmue): support individual braces in string values in\n\t// eval expressions.\n\tvar args []string\n\n\tvar isArg bool\n\tvar formatSlice, argSlice []rune\n\tbraceCount := 0\n\tfor _, r := range msg {\n\t\tif isArg {\n\t\t\tswitch r {\n\t\t\tcase '}':\n\t\t\t\tif braceCount--; braceCount == 0 {\n\t\t\t\t\targStr := strings.TrimSpace(string(argSlice))\n\t\t\t\t\tif len(argStr) == 0 {\n\t\t\t\t\t\treturn false, nil, errors.New(\"empty evaluation string\")\n\t\t\t\t\t}\n\t\t\t\t\targs = append(args, argStr)\n\t\t\t\t\tformatSlice = append(formatSlice, '%', 's')\n\t\t\t\t\tisArg = false\n\t\t\t\t\tcontinue\n\t\t\t\t}\n\t\t\tcase '{':\n\t\t\t\tbraceCount += 1\n\t\t\t}\n\t\t\targSlice = append(argSlice, r)\n\t\t\tcontinue\n\t\t}\n\n\t\tswitch r {\n\t\tcase '}':\n\t\t\treturn false, nil, errors.New(\"invalid log point format, unexpected '}'\")\n\t\tcase '{':\n\t\t\tif braceCount++; braceCount == 1 {","sourceCodeStart":4718,"sourceCodeEnd":4754,"githubUrl":"https://github.com/go-delve/delve/blob/a23773e6c31361e43246bc43a424ee009679b174/service/dap/server.go#L4718-L4754","documentation":"Error \"empty evaluation string\" thrown in go-delve/delve.","triggerScenarios":"Thrown at service/dap/server.go:4736 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"}