1. 17 2月, 2016 1 次提交
    • D
      dlv: Take package name in certain commands · 8f85b6cb
      Derek Parker 提交于
      This patch allows certain commands (`debug`, `test`, and `trace`) to
      take an argument specifying a package name. This allows a user to
      specify a package other than that of the current package in the working
      directory.
      
      If a package name is not specified, the behavior remains the same, as in
      Delve will look in the current working directory for a `main` package to
      compile.
      
      Fixes #423
      8f85b6cb
  2. 12 2月, 2016 2 次提交
  3. 11 2月, 2016 2 次提交
    • A
      proc: bugs setting next breakpoints · b370e20c
      aarzilli 提交于
      1. A running goroutine is by definition not parked waiting for a
      chan recv
      2. The FDE end address is intended to be exclusive, the code
      interpreted as inclusive and sometimes ended up setting a breakpoint
      on a function other than the current one.
      b370e20c
    • 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
  4. 10 2月, 2016 1 次提交
  5. 09 2月, 2016 1 次提交
  6. 06 2月, 2016 2 次提交
  7. 04 2月, 2016 1 次提交
  8. 02 2月, 2016 1 次提交
  9. 01 2月, 2016 4 次提交
  10. 31 1月, 2016 2 次提交
  11. 30 1月, 2016 2 次提交
  12. 29 1月, 2016 1 次提交
  13. 27 1月, 2016 6 次提交
  14. 25 1月, 2016 6 次提交
    • 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
    • A
      dwarf/frame: detecting dwarf section endianness · b1640238
      aarzilli 提交于
      b1640238
    • V
      terminal/command: Fixed 'test' command on Windows · 1bfae45b
      Vorn Mom 提交于
      This change addresses a Windows-specifc issue with the 'test' command. On
      Windows, 'go test' generate executables with a '.exe' filename extention,
      but the current implementation attaches to a filename without the
      extention.
      1bfae45b
    • A
      go fmt · 91743d94
      aarzilli 提交于
      91743d94
    • D
      proc: refactor parseg · afe77160
      Derek Parker 提交于
      Instead of doing a bunch of manual DWARF / memory parsing we instead can
      just dogfood the internal Variable API to retrieve the G struct.
      afe77160
  15. 24 1月, 2016 4 次提交
  16. 21 1月, 2016 2 次提交
    • L
      Add support for Windows. · bddb712a
      Luke Hoban 提交于
      Fixes #198.
      bddb712a
    • D
      proc: Single step only "current" thread · 98ae6840
      Derek Parker 提交于
      Instead of the `step` command single stepping every thread, instead only
      step the "current" thread. This fixes a few issues surrounding single
      stepping, and simplifies the logic. The original concerns around only
      stepping a single thread (with regard to coordination) are invalid and
      generally non-issues.
      98ae6840
  17. 19 1月, 2016 1 次提交
  18. 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