What version of Delve are you using (dlv version)?
1.26.0
What version of Go are you using? (go version)?
go1.25.5
What operating system and processor architecture are you using?
darwin/arm64
Description
I'm attempting to debug my fuzz test via:
dlv test . -- -test.parallel=1 -test.fuzzminimizetime=0 -test.fuzz FuzzDSO -test.fuzztime=30s
After dlv starts and I continue, the process exits with error:
(dlv) c
testing: -test.fuzzcachedir must be set if -test.fuzz is set
...
Where -test.fuzzcachedir is an internal option flag:
-test.fuzzcachedir string
directory where interesting fuzzing inputs are stored (for use only by cmd/go)
In order to work around this error I need to manually provide -test.fuzzcachedir:
dlv test . -- -test.parallel=1 -test.fuzzminimizetime=0 -test.fuzz FuzzDSO -test.fuzztime=30s -test.fuzzcachedir=./testdata
Instead, I expect dlv test to figure it out without similarly to how go test does.
What version of Delve are you using (
dlv version)?1.26.0
What version of Go are you using? (
go version)?go1.25.5
What operating system and processor architecture are you using?
darwin/arm64
Description
I'm attempting to debug my fuzz test via:
After dlv starts and I continue, the process exits with error:
Where -test.fuzzcachedir is an internal option flag:
In order to work around this error I need to manually provide -test.fuzzcachedir:
Instead, I expect
dlv testto figure it out without similarly to howgo testdoes.