Use the --check-go-version=false
for Go builds
#3130
Unanswered
durwasa-chakraborty
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@muirdm
I have a bare-bones LinkedList.go that I want to debug (using dlv) For some infrastructure issues I cannot upgrade to go 1.15 and on OSX building dlv with a lower version is super painful. Has anyone tried the
:dlvFlags "--check-go-version=false"
if so what is the right way to do it?I have tried -
"--check-go-version=false" / (list "--check-go-version=false")
nothing seems to work; it doesn't enter the dap-debug mode and errors out with the commandVersion of Delve is too old for this version of Go (maximum supported version 1.12, suppress this error with --check-go-version=false)
I tried the following
this doesn't error out but doesn't stop at runtime.Breakpoint(), the locals have no variables or stack information.
Beta Was this translation helpful? Give feedback.
All reactions