-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
When a test case with breakpoints in code or test case the itself, is executed, below error is thrown in logs and the test case execution hangs forever.
org.jetbrains.concurrency.MessageError: Internal debugger error: <nil> not a String
runtime.gopanic (0x43cdf1)
/mnt/agent/temp/buildTmp/go/src/runtime/panic.go:770
go/constant.StringVal (0x6173e4)
/mnt/agent/temp/buildTmp/go/src/go/constant/value.go:500
github.com/go-delve/delve/pkg/proc.(*G).Labels (0x8436f9)
/mnt/agent/work/4c3e5e3eabfaf2d2/pkg/proc/variables.go:594
github.com/go-delve/delve/service/api.ConvertGoroutine (0x8650d8)
/mnt/agent/work/4c3e5e3eabfaf2d2/service/api/conversions.go:309
github.com/go-delve/delve/service/debugger.(*Debugger).state (0x8fc0b7)
/mnt/agent/work/4c3e5e3eabfaf2d2/service/debugger/debugger.go:586
github.com/go-delve/delve/service/debugger.(*Debugger).Command (0x9017cc)
/mnt/agent/work/4c3e5e3eabfaf2d2/service/debugger/debugger.go:1219
github.com/go-delve/delve/service/rpc2.(*RPCServer).Command (0xa4db1c)
/mnt/agent/work/4c3e5e3eabfaf2d2/service/rpc2/server.go:130
reflect.Value.call (0x4e3f45)
/mnt/agent/temp/buildTmp/go/src/reflect/value.go:596
reflect.Value.Call (0x4e3058)
/mnt/agent/temp/buildTmp/go/src/reflect/value.go:380
github.com/go-delve/delve/service/rpccommon.(*ServerImpl).serveJSONCodec.func3 (0xb3d314)
/mnt/agent/work/4c3e5e3eabfaf2d2/service/rpccommon/server.go:369
runtime.goexit (0x4736c0)
/mnt/agent/temp/buildTmp/go/src/runtime/asm_amd64.s:1695
The issue can be seen in Intellij IDEA and VSCode, latest versions. Below are the versions used,
GO version - v1.24.0
Delve version - v1.24.0