These are chat archives for derekparker/delve

28th
Apr 2016
Elbandi
@Elbandi_twitter
Apr 28 2016 11:28
hi, i have an issue: program arguments doesnt work with delve
Alessandro Arzilli
@aarzilli
Apr 28 2016 11:30
add a -- before the arguments you want to pass to your program
dlv debug -- <your arguments go here>
Elbandi
@Elbandi_twitter
Apr 28 2016 11:32
not works too :(
dlv.exe exec D:\workspace\testgo\test.exe -- test
Type 'help' for list of commands.
(dlv) c
[D:\workspace\testgo\test.exe]
[]
flag.Parse() fmt.Printf("%+v\n", os.Args) fmt.Printf("%+v\n", flag.Args())
i do "exec ...", becase intellj go plugin call dlv so
Alessandro Arzilli
@aarzilli
Apr 28 2016 11:36
what's the output of dlv version?
this problem was fixed last week, I suspect the intellij plugin hasn't been updated yet
Elbandi
@Elbandi_twitter
Apr 28 2016 11:44
Delve Debugger
Version: 0.11.0-alpha
Build: 63a660820e7beef3b4870922e25897887392b188
Alessandro Arzilli
@aarzilli
Apr 28 2016 11:45
yeah, that bug has been fixed already
you need to wait for IntelliJ to update
Elbandi
@Elbandi_twitter
Apr 28 2016 11:46
so, 0.11.0-alpha has this bug?
Alessandro Arzilli
@aarzilli
Apr 28 2016 11:47
63a660820e7beef3b4870922e25897887392b188 has the bug
Elbandi
@Elbandi_twitter
Apr 28 2016 12:08
ah, thx. i built a git version, and thats works.