1. 25 4月, 2016 1 次提交
    • 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
  2. 19 4月, 2016 1 次提交
  3. 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
  4. 28 3月, 2016 1 次提交
  5. 18 3月, 2016 1 次提交
  6. 09 3月, 2016 1 次提交
  7. 29 2月, 2016 1 次提交
  8. 28 2月, 2016 3 次提交
  9. 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
  10. 19 2月, 2016 2 次提交
  11. 18 2月, 2016 1 次提交
  12. 17 2月, 2016 1 次提交
  13. 12 2月, 2016 1 次提交
  14. 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
  15. 06 2月, 2016 1 次提交
  16. 02 2月, 2016 1 次提交
  17. 01 2月, 2016 1 次提交
  18. 30 1月, 2016 2 次提交
  19. 27 1月, 2016 1 次提交
  20. 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
  21. 24 1月, 2016 1 次提交
  22. 21 1月, 2016 1 次提交
  23. 18 1月, 2016 1 次提交
    • A
      service/locations: hooked expression evaluator to location specifiers · 70cbbdc0
      aarzilli 提交于
      Location specifiers starting with '*' can be followed by any
      expression supported by the evaluator.
      The expression should evaluate to either an integer (which will be
      interpreted as an address) or to a function pointer (which will be
      dereferenced to get the function's entry point).
      70cbbdc0
  24. 10 1月, 2016 1 次提交
  25. 09 1月, 2016 2 次提交
    • A
      proc: Next implemented as conditional breakpoints + Continue · 54411356
      aarzilli 提交于
      Next sets its temporary breakpoints with the condition that they
      must only activate on the current goroutine, and then calls Continue
      When Continue encounters a temporary breakpoint it clears all
      the breakpoint.
      
      User visible changes: breakpoints that get hit while executing Next
      are not ignored.
      
      This commit does not implement full conditional breakpoints
      functionality, the only condition that can be set is on the
      goroutine id.
      
      Fixes race conditions in Next affecting TestNextConcurrent.
      54411356
    • A
      service,terminal: propagating simultaneous breakpoints · 708cf2f2
      aarzilli 提交于
      708cf2f2
  26. 04 1月, 2016 1 次提交
  27. 27 12月, 2015 1 次提交
  28. 23 12月, 2015 1 次提交
  29. 16 12月, 2015 5 次提交