go-delve/delve · error

could not find symbol value for %s

Error message

could not find symbol value for %s

What it means

Error "could not find symbol value for %s" thrown in go-delve/delve.

Source

Thrown at pkg/proc/eval.go:1147

		if scope.rangeFrames == nil {
			stack.err = scope.setupRangeFrames()
		}
		if len(scope.rangeFrames) > 0 {
			stack.push(newConstant(constant.MakeInt64(scope.rangeFrames[len(scope.rangeFrames)-2].FrameOffset()), scope.BinInfo, scope.Mem))
		} else {
			stack.push(newConstant(constant.MakeInt64(0), scope.BinInfo, scope.Mem))
		}

	case *evalop.PushThreadID:
		stack.push(newConstant(constant.MakeInt64(int64(scope.threadID)), scope.BinInfo, scope.Mem))

	case *evalop.PushConst:
		stack.push(newConstant(op.Value, scope.BinInfo, scope.Mem))

	case *evalop.PushLocal:
		found := stack.pushLocal(scope, op.Name, op.Frame)
		if !found {
			stack.err = fmt.Errorf("could not find symbol value for %s", op.Name)
		}

	case *evalop.PushNil:
		stack.push(nilVariable)

	case *evalop.PushPackageVarOrSelect:
		var savedErr error
		found := false
		if !op.NameIsString {
			found = stack.pushIdent(scope, op.Name)
			if stack.err != nil {
				savedErr = stack.err
				stack.err = nil
				found = false
			}
			if found {
				scope.evalStructSelector(&evalop.Select{Name: op.Sel}, stack)
				if stack.err != nil {

View on GitHub (pinned to a23773e6c3)

When it happens

Trigger: Thrown at pkg/proc/eval.go:1147 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of go-delve/delve@a23773e6c3 (2026-08-31). Data as JSON: /api/errors/fa4aff0e74bc5203. Report an issue: GitHub.