1. 17 12月, 2016 2 次提交
  2. 03 11月, 2016 1 次提交
  3. 02 11月, 2016 1 次提交
    • E
      Flag to set working directory (#650) · 4064d6ac
      Evgeny L 提交于
      * proc: Add `wd` to Launch
      
      This change adds the `wd` arg which specify working directory of the
      program.
      
      Fixes #295
      
      * service/debugger: Add `Wd` field to debugger.Config
      
      This change adds the `Wd` field which specify working directory of the
      program launched by debugger.
      
      Fixes #295
      
      * service: Add `Wd` to service.Config
      
      This change adds the `Wd` field which specify working directory of the
      program debugger will launch.
      
      Fixes #295
      
      * cmd/dlv: Add `Wd` flag
      
      This change adds `Wd` flag which specify working directory of the
      program which launched by debugger.
      
      Fixes #295
      
      * only set the Linux working directory if it is set,
      stub out param in darwin and windows
      
      * set working directory for Windows
      https://godoc.org/golang.org/x/sys/windows#CreateProcess
      https://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx
      
      * Windows workingDir must be an *uint16
      
      * attempt to chdir on darwin via @yuntan
      
      * proc/exec_darwin.c: fix working directory for darwin
      
      * Add tests to check if working directory works.
      * Fix darwin implementation of fork/exec, which paniced if
        child fork returned.
      
      * cmd, service: rename Wd to WorkingDir
      4064d6ac
  4. 27 10月, 2016 1 次提交
    • A
      proc: Names of concrete types of interfaces parsing their runtime._type · f62bf8d1
      aarzilli 提交于
      Generate names of the concrete types stored inside interface variables
      by fully parsing their runtime._type instead of simply using the str
      field.
      
      This allows delve to read the contents of an interface variable when
      the program imports multiple packages that have the same name. It also
      allows delve to correctly interpret some complex anonymous types.
      
      Fixes #455
      f62bf8d1
  5. 26 10月, 2016 1 次提交
  6. 23 10月, 2016 1 次提交
  7. 22 10月, 2016 3 次提交
  8. 05 10月, 2016 1 次提交
  9. 30 9月, 2016 1 次提交
  10. 27 9月, 2016 2 次提交
    • A
      proc: Implement Step using Continue · 7c49d496
      aarzilli 提交于
      Instead of repeatedly calling StepInstruction set breakpoints to the
      destination of CALL instructions (or on the CALL instructions
      themselves for indirect CALLs), then call Continue.
      Calls to unexported runtime functions are skipped.
      Reduces the number of code paths managing inferior state from 3 to 2
      (StepInstruction, Continue).
      
      Fixes #561
      7c49d496
    • A
      proc: bugfix: Next and normal calls to deferred function · 8d582620
      aarzilli 提交于
      When a deferred function is called directly Next and StepOut should not
      step into it.
      
      Fixes #582
      8d582620
  11. 25 9月, 2016 2 次提交
  12. 13 9月, 2016 2 次提交
  13. 07 9月, 2016 2 次提交
  14. 01 9月, 2016 1 次提交
  15. 12 8月, 2016 1 次提交
  16. 05 8月, 2016 1 次提交
  17. 22 7月, 2016 1 次提交
    • D
      proc: Fix stepping into runtime.duff* (#575) · 218c2b95
      dr2chase 提交于
      Detect calls that do not target a function's entrypoint
      (i.e, calls to runtime.duffzero and runtime.duffcopy) and
      instead step into them directly.  StepInto sets a breakpoint
      past the called function's prologue and expects that continue
      will hit that breakpoint, but because the call is into the
      interior of the function (well past the prologue) this fails.
      
      Fixes #573
      218c2b95
  18. 21 7月, 2016 1 次提交
  19. 08 7月, 2016 2 次提交
  20. 06 7月, 2016 2 次提交
  21. 03 7月, 2016 1 次提交
  22. 02 7月, 2016 1 次提交
    • A
      Replaced net/rpc with custom version · 80336e57
      aarzilli 提交于
      This version preserves the order of requests, allows the
      client to switch between API versions and introduces a
      way to send notifications to the client (see TODO item at:
      proc/proc_linux.go:325).
      
      Fixes #523, #571
      80336e57
  23. 30 6月, 2016 1 次提交
    • A
      proc: detect when Launching non-executable files · 51c39ed1
      aarzilli 提交于
      This provides a better error message when the user tries to run dlv
      debug on a directory that does not contain a main package, when `dlv
      exec` is used with a source file.
      
      Additionally the architecture of the executable is checked as suggested
      by @alexbrainman in #443.
      
      Fixes #509
      51c39ed1
  24. 25 6月, 2016 5 次提交
  25. 22 6月, 2016 1 次提交
  26. 21 6月, 2016 1 次提交
  27. 08 6月, 2016 1 次提交