These are chat archives for derekparker/delve

18th
Apr 2016
Riccardo Setti
@giskarda
Apr 18 2016 10:40
morning, any clue why I keep getting "could not launch process: could not fork/exec"
on os?
osx*
Alessandro Arzilli
@aarzilli
Apr 18 2016 10:42
the certificate you used to sign doesn't have the correct permissions or you didn't restart taskgated
Riccardo Setti
@giskarda
Apr 18 2016 10:42
the second
i was re reading the instruction
and yeah I Didn't do it
yep -- working :) thanks man!
Alessandro Arzilli
@aarzilli
Apr 18 2016 10:45
no problem :)
Riccardo Setti
@giskarda
Apr 18 2016 10:50
im good at this game
riccardo.setti 15999 0.0 0.0 0 0 s001 Z 11:38AM 0:00.00 (dlv)
riccardo.setti 15988 0.0 0.0 0 0 s001 Z 11:37AM 0:00.00 (dlv)
Alessandro Arzilli
@aarzilli
Apr 18 2016 11:31
@giskarda derekparker/delve#493, add more details to that issue and I will reopen it
Robert Ignat
@irobert91
Apr 18 2016 15:03

hello everyone! i have a question about delve... i'm trying to pass some command line flags to the binary that i want to debug, something like:

$ dlv exec ./my-binary -foo

but i get this:

Error: unknown shorthand flag: 'f' in -foo
Usage:
  ...

I have found derekparker/delve#126, and indeed dlv works with non-flag arguments, but couldn't find one related to flags.
Could anyone help me with this please?

Florin Pățan
@dlsniper
Apr 18 2016 17:23
you should use dlv exec ./my-binary -- -foo note the two dashes before your arguments
this should work (unless you are on Windows, I have no clue for that)