1. 21 3月, 2019 1 次提交
  2. 05 1月, 2019 1 次提交
    • D
      *: Update import name to github.com/go-delve/delve · 4c9a72e4
      Derek Parker 提交于
      The repository is being switched from the personal account
      github.com/derekparker/delve to the organization account
      github.com/go-delve/delve. This patch updates imports and docs, while
      preserving things which should not be changed such as my name in the
      CHANGELOG and in TODO comments.
      4c9a72e4
  3. 20 10月, 2018 1 次提交
    • D
      *: Show return values on CLI trace · 3129aa73
      Derek Parker 提交于
      This patch allows the `trace` CLI subcommand to display return values of
      a function. Additionally, it will also display information on where the
      function exited, which could also be helpful in determining the path
      taken during function execution.
      
      Fixes #388
      3129aa73
  4. 16 10月, 2018 2 次提交
  5. 25 9月, 2018 1 次提交
  6. 20 9月, 2018 1 次提交
  7. 31 8月, 2018 1 次提交
    • A
      proc,service,terminal: information about stack trace truncation · ac74944d
      aarzilli 提交于
      Add a flag to Stackframe that indicates where the stack frame is the
      bottom-most frame of the stack. This allows clients to know whether the
      stack trace terminated normally or if it was truncated because the
      maximum depth was reached.
      Add a truncation message to the 'stack' command.
      ac74944d
  8. 25 7月, 2018 1 次提交
    • A
      proc,service,terminal: read defer list · 8f1fc63d
      aarzilli 提交于
      Adds -defer flag to the stack command that decorates the stack traces
      by associating each stack frame with its deferred calls.
      
      Reworks proc.next to use this feature instead of using proc.DeferPC,
      laying the groundwork to implement #1240.
      8f1fc63d
  9. 14 7月, 2018 1 次提交
  10. 10 7月, 2018 1 次提交
  11. 29 6月, 2018 1 次提交
  12. 27 6月, 2018 1 次提交
    • A
      proc,terminal,service: let headless instances run without connected clients · 9a216211
      aarzilli 提交于
      This pull request makes several changes to delve to allow headless
      instancess that are started with the --accept-multiclient flag to
      keep running even if there is no connected client. Specifically:
      
      1. Makes a headless instance started with --accept-multiclient quit
          after one of the clients sends a Detach request (previously they
          would never ever quit, which was a bug).
      2. Changes proc/gdbserial and proc/native so that they mark the
          Process as exited after they detach, even if they did not kill the
          process during detach. This prevents bugs such as #1231 where we
          attempt to manipulate a target process after we detached from it.
      3. On non --accept-multiclient instances do not kill the target
          process unless we started it or the client specifically requests
          it (previously if the client did not Detach before closing the
          connection we would kill the target process unconditionally)
      4. Add a -c option to the quit command that detaches from the
          headless server after restarting the target.
      5. Change terminal so that, when attached to --accept-multiclient,
          pressing ^C will prompt the user to either disconnect from the
          server or pause the target process. Also extend the exit prompt to
          ask if the user wants to keep the headless server running.
      
      Implements #245, #952, #1159, #1231
      9a216211
  13. 12 6月, 2018 1 次提交
    • A
      proc,service: display return values when stepping out of a function · 60c58acb
      aarzilli 提交于
      Displays the return values of the current function when we step out of
      it after executing a step, next or stepout command.
      
      Implementation of this feature is tricky: when the function has
      returned the return variables are not in scope anymore. Implementing
      this feature requires evaluating variables that are out of scope, using
      a stack frame that doesn't exist anymore.
      
      We can't calculate the address of these variables when the
      next/step/stepout command is initiated either, because between that
      point and the time where the stepout breakpoint is actually hit the
      goroutine stack could grow and be moved to a different memory address.
      60c58acb
  14. 24 4月, 2018 1 次提交
  15. 20 3月, 2018 1 次提交
  16. 21 12月, 2017 1 次提交
  17. 14 12月, 2017 2 次提交
  18. 29 11月, 2017 1 次提交
  19. 12 9月, 2017 1 次提交
  20. 31 8月, 2017 1 次提交
  21. 02 8月, 2017 2 次提交
  22. 27 7月, 2017 1 次提交
  23. 21 6月, 2017 1 次提交
    • A
      api: add FrameOffset to Stackframe (#864) · 04c4b019
      Alessandro Arzilli 提交于
      Other debuggers can be instructed to decorate the stacktrace with the
      value of SP. Our SP equivalent is the frame offset, since we can add it
      to the Stackframe structure without incurring into added costs we
      should, so that frontends can use it if they want.
      04c4b019
  24. 06 5月, 2017 1 次提交
  25. 09 2月, 2017 1 次提交
  26. 10 1月, 2017 1 次提交
  27. 23 12月, 2016 1 次提交
  28. 20 12月, 2016 1 次提交
  29. 23 10月, 2016 1 次提交
  30. 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
  31. 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
  32. 21 6月, 2016 1 次提交
  33. 30 5月, 2016 1 次提交
  34. 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
  35. 18 3月, 2016 1 次提交
  36. 17 2月, 2016 1 次提交