1. 20 3月, 2018 1 次提交
  2. 28 1月, 2018 1 次提交
  3. 19 1月, 2018 1 次提交
    • Y
      command/terminal: allow restart to change process args (#1060) · c5c41f63
      Yasushi Saito 提交于
      * command/terminal: allow restart to change process args
      
      Add -args flag to "restart" command. For example, "restart -args a b c" will
      pass args a b c to the new process.
      
      Add "-c" flag to pass the checkpoint name. This is needed to disambiguate the
      checkpoint name and arglist.
      
      Reverted unnecessary changes.
      
      * Applied reviewer comments.
      
      Vendored argv.
      
      Change the syntax of restart. When the target is is in recording mode, it always
      interprets the args as a checkpoint. Otherwise, it interprets the args as
      commandline args. The flag "-args" is still there, to handle the case in which
      the user wants to pass an empty args on restart.
      
      * Add restartargs.go.
      
      Change "restart -args" to "restart -noargs" to clarify that this flag is used to
      start a process with an empty arg.
      c5c41f63
  4. 19 12月, 2017 1 次提交
    • A
      debugger/locations: locspec "+0" should always evaluate to the current PC · 3f2335f2
      aarzilli 提交于
      So far we have evaluated the locspec "+0" the same way we evaluate all
      "+n" locspecs, this means that we turn the current PC into a file:line
      pair, then we turn back the file:line into a PC address.
      
      Normally this is harmless, however all autogenerated code returns the
      source position "<autogenerated>:1" which resolves back to the very
      first autogenerated instruction in the code.
      
      This messes up the behaviour of the "disassemble" command which uses
      the locspec "+0" to figure out what code to disassemble if no arguments
      are passed.
      
      We should make +0 always resolve to the current PC (of the given scope)
      so that clients can use +0 as a default locspec.
      3f2335f2
  5. 29 11月, 2017 1 次提交
  6. 09 9月, 2017 1 次提交
  7. 31 8月, 2017 1 次提交
  8. 02 8月, 2017 1 次提交
  9. 27 7月, 2017 2 次提交
  10. 30 6月, 2017 1 次提交
  11. 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
  12. 09 5月, 2017 1 次提交
  13. 06 5月, 2017 1 次提交
  14. 20 4月, 2017 2 次提交
  15. 19 4月, 2017 1 次提交
  16. 23 2月, 2017 2 次提交
    • A
      terminal/command_test: improved TestIssue387 · 1a4b5a05
      aarzilli 提交于
      The test in question tries to 'next' over a call to wg.Done, this is
      not guaranteed to succeed, if the goroutine gets suspended after
      wg.Done has notified the waiting group but before returning to
      main.dostuff the program could quit before the goroutine is resumed.
      1a4b5a05
    • A
      proc/stack: use BP when FDE is not available · 92faa95b
      aarzilli 提交于
      On Windows we can sometimes encounter threads stopped in locations for
      which we do not have entries in debug_frame.
      These cases seem to be due to calls to Windows API in the go runtime,
      we can still produce a (partial) stack trace in this circumstance by
      following frame pointers (starting with BP).
      We still prefer debug_frame entries when available since go functions
      do not have frame pointers before go1.8.
      92faa95b
  17. 09 2月, 2017 1 次提交
  18. 25 9月, 2016 1 次提交
  19. 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
  20. 30 4月, 2016 1 次提交
    • A
      docs: Documentation for command line frontend (#518) · 82ece547
      Alessandro Arzilli 提交于
      * documentation: copied old documentation from wiki
      
      * command: better online documentation
      
      Help without arguments prints just a short summary for each command,
      help followed by a command prints the command's syntax and a longer
      explanation.
      
      * documentation: automatically generate Documentation/cli/README.md
      82ece547
  21. 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
  22. 19 4月, 2016 1 次提交
  23. 07 4月, 2016 1 次提交
    • W
      terminal: show message if there are no vars/locals/args · e60942a3
      Wesley Merkel 提交于
      When the vars, locals, or args commands return no results, nothing is
      
      printed out to the terminal. This commit makes these commands print a
      
      message like `(no locals)` when there is nothing to show. This feedback
      
      is more descriptive of what is being returned than an empty string.
      e60942a3
  24. 29 2月, 2016 1 次提交
  25. 28 2月, 2016 2 次提交
  26. 25 2月, 2016 1 次提交
  27. 12 2月, 2016 1 次提交
  28. 29 1月, 2016 1 次提交
  29. 04 11月, 2015 1 次提交
  30. 05 10月, 2015 1 次提交
    • A
      terminal: Implements init file and source command · eb2bc2a7
      aarzilli 提交于
      The 'source' command reads the file specified as argument and executes
      it as a list of delve commands.
      Additionally a flag '--init' can be passed to delve specifying a file
      containing a list of commands to execute on startup.
      
      Issue #96
      eb2bc2a7
  31. 30 9月, 2015 1 次提交
  32. 30 5月, 2015 1 次提交
  33. 05 5月, 2015 1 次提交
  34. 02 5月, 2015 1 次提交
  35. 30 4月, 2015 1 次提交
    • D
      Introduce client/server separation · 2954e03a
      Dan Mace 提交于
      Refactor to introduce client/server separation, including a typed
      client API and a HTTP REST server implementation.
      
      Refactor the terminal to be an API consumer.
      2954e03a