1. 07 9月, 2016 1 次提交
  2. 06 7月, 2016 2 次提交
  3. 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
  4. 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
  5. 22 6月, 2016 1 次提交
  6. 21 6月, 2016 1 次提交
  7. 30 5月, 2016 2 次提交
    • D
      all: Fix typos · 0fded288
      Derek Parker 提交于
      0fded288
    • A
      Go 1.7 compatibility (#524) · 9bc6ad4f
      Alessandro Arzilli 提交于
      * tests: update to cope with go1.7 SSA compiler
      
      * de-vendored golang.org/x/debug/dwarf
      
      We need our own tweaked version
      
      * dwarf/debug/dwarf: always use the entry's name attribute
      
      Using the name attribute leads to better type names as well as fixes
      inconsistencies between 1.5, 1.6 and 1.7.
      
      * proc: Updated loadInterface to work with go1.7
      
      go1.7 changed the internal representation of types, removing the string
      field from runtime._type.
      Updated loadInterface to use the new str field.
      9bc6ad4f
  8. 18 5月, 2016 1 次提交
  9. 25 4月, 2016 5 次提交
    • A
      terminal,service: auto-continue during next and step (#448) · c4e01da5
      Alessandro Arzilli 提交于
      * proc: bugfix: StepInto can not function when temp bps exist
      
      * terminal,service: auto-continue during next and step
      
      Make dlv call continue automatically when a breakpoint is hit on a
      different goroutine during a next or step operation.
      Added API hooks to implement the other solution to this problem (cancel
      the next/step operation if a different breakpoint is hit).
      
      Fixes #387
      c4e01da5
    • A
      proc: allow use of quoted type names in type casts (#434) · a7a0cc75
      Alessandro Arzilli 提交于
      If we are unable to correctly guess how a type is serialized in
      debug_info let the user specify it directly.
      
      Workaround for #455
      a7a0cc75
    • A
      service: Make Halt work during tracing (#469) · 7820921b
      Alessandro Arzilli 提交于
      While tracing delve may spend most of its time outside of
      proc.(*Process).Continue, which renders
      service/rpc/client.(*Client).Halt ineffective.
      This commit changes the implementation of
      service/rpc/client.(*Client).Halt to make it capable of stopping traces.
      7820921b
    • A
      documentation: API documentation improvements (#507) · f7cb6053
      Alessandro Arzilli 提交于
      * documentation: headless invocation should specify --api-version=2
      
      * documentation: More API documentation
      
      * documentation: copied documentation from client.go to rpc2/server.go
      
      Fixes #164
      f7cb6053
    • A
      proc: Improvements to Variable printing (#444) · 473b6638
      Alessandro Arzilli 提交于
      * service/api: Removed unused fields of service/api.Function
      
      * proc/eval: Set return variable name to input expression
      
      * all: fine-grained control of loadValue for better variable printing
      
      Makes proc.(*Variable).loadValue loading parameters configurable
      through one extra argument of type LoadConfig.
      This interface is also exposed through the API so clients can control
      how much of a variable delve should read.
      473b6638
  10. 19 4月, 2016 1 次提交
  11. 29 3月, 2016 1 次提交
    • A
      proc: stacktrace refactoring · 497b5261
      aarzilli 提交于
      - made GoroutineStacktrace a method of struct G
      - made stacktrace a method of StackIterator
      - renamed StackIterator to stackIterator
      - factored out logic to obtain a stackIterator from a goroutine that's
      used by both (*G).Stacktrace and by (*G).UserCurrent
      497b5261
  12. 28 3月, 2016 1 次提交
  13. 18 3月, 2016 1 次提交
  14. 09 3月, 2016 1 次提交
  15. 29 2月, 2016 1 次提交
  16. 28 2月, 2016 3 次提交
  17. 25 2月, 2016 2 次提交
    • D
      service/debugger: Fix typo · 1efc4940
      Derek Parker 提交于
      1efc4940
    • A
      debugger: bugfix: make delve API thread safe · 82ef3cce
      aarzilli 提交于
      proc.(*Process) methods are not thread safe, multiple clients
      connecting simultaneously to a delve server (Issue #383) or a even
      a single over-eager client (Issue #408) can easily crash it.
      Additionally (Issue #419) calls to client.(*RPCClient).Halt can
      crash the server because they can result in calling the function
      debug/dwarf.(*Data).Type simultaneously in multiple threads which
      will cause it to return incompletely parsed dwarf.Type values.
      
      Fixes #408, #419 (partial)
      82ef3cce
  18. 19 2月, 2016 2 次提交
  19. 18 2月, 2016 1 次提交
  20. 17 2月, 2016 1 次提交
  21. 12 2月, 2016 1 次提交
  22. 11 2月, 2016 1 次提交
    • A
      proc: Bug loading maps · 51e87386
      aarzilli 提交于
      Past the maximum recursion depth maps shouldn't be loaded at all,
      adding map children and not loading them breaks assumptions in
      the prettyprinter.
      
      Fixes #406
      51e87386
  23. 06 2月, 2016 1 次提交
  24. 02 2月, 2016 1 次提交
  25. 01 2月, 2016 1 次提交
  26. 30 1月, 2016 2 次提交
  27. 27 1月, 2016 1 次提交
  28. 25 1月, 2016 2 次提交
    • D
      proc: step now goes to next line, including funcs · 1bda5861
      Derek Parker 提交于
      This patch modifies the `step` command to step to the next source line,
      stepping into any function encountered along the way.
      
      Fixes #360
      1bda5861
    • A
      proc: replace debug/dwarf with golang.org/x/debug/dwarf · 54f1c9b3
      aarzilli 提交于
      Typedefs that resolve to slices are not recorded in DWARF as typedefs
      but instead as structs in a way that there is no way to know they
      are really slices using debug/dwarf.
      Using golang.org/x/debug/dwarf instead this problem is solved and
      as a bonus some types are printed with a nicer names: (struct string
      → string, struct []int → []int, etc)
      
       Fixes #356 and #293
      54f1c9b3