1. 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
  2. 29 9月, 2015 1 次提交
  3. 18 9月, 2015 1 次提交
  4. 06 9月, 2015 1 次提交
  5. 30 8月, 2015 1 次提交
    • O
      dwarf/line: Support for parsing multiple file tables · d5e00a58
      omie 提交于
      Support multiple file / directory tables for multiple compilation units.
      
      - added a type DebugLines that can hold number of DebugLineInfo
      - added a supporting attribute to DebugLineInfo called 'Lookup' which is to be
      used to quickly lookup if file exists in FileNames slice
      - added supporting methods to lookup and return corresponding DebugLineInfo
      - changed the debug_line parsing behavior to read all the available tables and
      push them to DebugLines
      
      - since Process.lineInfo is now a slice, it was breaking AllPCsBetween as well
      - updated that function's definition to accept a new filename parameter to be
      able to extract related DebugLineInfo
      - updated calls to AllPCsBetween
      
      - fixed tests that were broken due to attribute type change in Process
      - updated _fixtures/cgotest program to include stdio.h, so that it updates
      .debug_line header
      - added a test to check 'next' in a cgo binary
      - OSX - 1.4 does not support cgo, handle that in new testcase
      d5e00a58
  6. 20 8月, 2015 1 次提交
    • D
      command (next): Improvements for parallel programs · b9846c76
      Derek Parker 提交于
      This patch aims to improve how Delve tracks the current goroutine,
      especially in very highly parallel programs. The main spirit of this
      patch is to ensure that even in situations where the goroutine we care
      about is not executing (common for len(g) > len(m)) we still end up back
      on that goroutine as a result of executing the 'next' command.
      
      We accomplish this by tracking our original goroutine id, and any time a
      breakpoint is hit or a threads stops, we examine the stopped threads and
      see if any are executing the goroutine we care about. If not, we set
      'next' breakpoint for them again and continue them. This is done so that
      one of those threads can eventually pick up the goroutine we care about
      and begin executing it again.
      b9846c76
  7. 12 8月, 2015 1 次提交
  8. 10 8月, 2015 3 次提交
  9. 09 8月, 2015 2 次提交
    • 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
    • D
      Bind to less used port in test · 869884b9
      Derek Parker 提交于
      869884b9
  10. 30 7月, 2015 1 次提交
  11. 28 7月, 2015 1 次提交
  12. 16 7月, 2015 1 次提交
  13. 08 7月, 2015 1 次提交
    • D
      Inject SIGTRAP for manual stop · 4d1dc5ad
      Derek Parker 提交于
      Instead of fighting against the normal flow, just signal a SIGTRAP and
      let the existing flow handle it, as long as we set the halt flag
      correctly the system should halt.
      4d1dc5ad
  14. 27 6月, 2015 1 次提交
  15. 26 6月, 2015 1 次提交
  16. 22 6月, 2015 1 次提交
  17. 21 6月, 2015 1 次提交
  18. 12 6月, 2015 1 次提交
  19. 10 5月, 2015 1 次提交
  20. 09 5月, 2015 1 次提交
  21. 26 4月, 2015 1 次提交
  22. 20 4月, 2015 1 次提交
  23. 01 4月, 2015 1 次提交
    • D
      Improve `next` implementation · 86e15305
      Derek Parker 提交于
      * Better tracking of current goroutine
      * More efficient, eliminates superfluous step syscalls
      * Handles concurrency and thread coordination better
      86e15305
  24. 28 2月, 2015 1 次提交
  25. 05 2月, 2015 1 次提交
  26. 20 1月, 2015 5 次提交
  27. 03 1月, 2015 1 次提交
  28. 01 1月, 2015 1 次提交
  29. 31 12月, 2014 1 次提交
  30. 29 12月, 2014 1 次提交
  31. 25 11月, 2014 1 次提交
    • D
      Improve support for goroutine context switching · 3b2b1793
      Derek Parker 提交于
      Remove any assumption that a wait syscall on a thread id after a
      continue will return. Any time we continue a thread, wait for activity
      from any thread, because the scheduler may well have switched contexts
      on us due to syscall entrace, channel op, etc...
      
      There are several more things to be done here including:
      
      * Potential tracking of goroutine id as we jump around to thread
        contexts.
      * Potential of selectively choosing threads to operate on based on the
        internal M data structures, ensuring that our M has an active G.
      
      This commit partially fixes #23 and #24, however there are still some
      random hangs that happen and need to be ironed out.
      3b2b1793
  32. 11 11月, 2014 1 次提交
  33. 08 11月, 2014 1 次提交