1. 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
  2. 25 4月, 2016 2 次提交
    • 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: 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
  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. 09 3月, 2016 1 次提交
  6. 28 2月, 2016 2 次提交
  7. 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
  8. 17 2月, 2016 1 次提交
  9. 12 2月, 2016 1 次提交
  10. 06 2月, 2016 1 次提交
  11. 30 1月, 2016 1 次提交
  12. 27 1月, 2016 1 次提交
  13. 25 1月, 2016 1 次提交
  14. 24 1月, 2016 1 次提交
  15. 21 1月, 2016 1 次提交
  16. 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
  17. 10 1月, 2016 1 次提交
  18. 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
  19. 29 10月, 2015 1 次提交
  20. 10 10月, 2015 1 次提交
  21. 29 9月, 2015 1 次提交
  22. 21 9月, 2015 1 次提交
    • A
      Refactor: use FindGoroutine · 5ba04353
      aarzilli 提交于
      Use proc.(*Process).FindGoroutine in proc.(*Process).SwitchGoroutine and
      debugger.(*Debugger).Stacktrace. That method did not exist when those
      were originally written.
      5ba04353
  23. 18 9月, 2015 1 次提交
  24. 06 9月, 2015 2 次提交
  25. 18 8月, 2015 1 次提交
  26. 09 8月, 2015 1 次提交
    • A
      Improve commands which take a location spec · 8e8d2660
      aarzilli 提交于
      Breakpoints, tracepoints, etc.. take a location spec as input. This
      patch improves the expressiveness of that API. It allows:
      
      * Breakpoint at line
      * Breakpoint at function (handling package / receiver smoothing)
      * Breakpoint at address
      * Breakpoint at file:line
      * Setting breakpoint based off regexp
      8e8d2660
  27. 02 8月, 2015 1 次提交
  28. 13 7月, 2015 1 次提交
    • D
      Implement 'trace' subcommand · 3cee10d8
      Derek Parker 提交于
      Allows a user to execute `dlv trace [regexp]` and Delve will execute the
      program and output information on functions matching [regexp].
      3cee10d8
  29. 11 7月, 2015 1 次提交
  30. 04 7月, 2015 2 次提交
  31. 02 7月, 2015 1 次提交
  32. 01 7月, 2015 1 次提交
    • D
      Cleanup tracepoint commit · 6b99c5f5
      Derek Parker 提交于
      * Cleanup comments
      * Cleanup naming in certain instances
      * Modify stacktrace to return current location
      6b99c5f5
  33. 30 6月, 2015 1 次提交
  34. 28 6月, 2015 1 次提交