1. 22 2月, 2021 1 次提交
  2. 21 2月, 2021 1 次提交
  3. 15 1月, 2021 1 次提交
  4. 09 1月, 2021 1 次提交
  5. 29 12月, 2020 1 次提交
  6. 11 12月, 2020 1 次提交
  7. 01 12月, 2020 2 次提交
  8. 13 11月, 2020 1 次提交
  9. 07 10月, 2020 1 次提交
    • S
      service/dap: add "panic" and "fatal error" as stopped reasons (#2186) · 5632cf92
      Suzy Mueller 提交于
      * service/dap: add "panic" and "fatal error" as stopped reasons
      
      The unrecovered panic and fatal throw breakpoints are not set by the
      user. We now check for these special breakpoints and send appropriate
      stopped reasons to the client.
      
      * Add getter for StopReason
      
      * Set threadID and stop reason correctly
      
      If there is no selected goroutine, no goroutine ID should be set in
      the stopped event.
      
      The stopped reason can be better determined using the process
      StopReason.
      
      * Update panic breakpoint on next test to work with Go 1.13 runtime
      
      When running panic.go with Go1.13, the next line that is stepped to
      after panic('boom') is the defer function in the runtime package. The
      unrecovered panic breakpoint is not hit until after several steps.
      
      The test now steps until the breakpoint is hit, or the program terminates
      without hitting the unrecovered panic breakpoint, in which case it fails.
      
      * Skip breakpoint on next test in < Go 1.14
      5632cf92
  10. 03 10月, 2020 1 次提交
  11. 29 9月, 2020 1 次提交
  12. 28 9月, 2020 1 次提交
  13. 24 9月, 2020 1 次提交
    • A
      service/*: remove threadID argument of (*Debugger).PackageVariables (#2182) · 310a124d
      Alessandro Arzilli 提交于
      * Travis-CI: add ignorechecksum option to chocolatey command
      
      Looks like a configuration problem on chocolatey's end.
      
      * service/*: remove threadID argument of (*Debugger).PackageVariables
      
      Which thread is used doesn't make any difference to the list of package
      variables that is returned and this option was only ever used by an old
      v1 API call.
      310a124d
  14. 16 9月, 2020 1 次提交
    • P
      service/dap: Add support for package globals to scopes/variables requests (#2160) · 4980fff8
      polinasok 提交于
      * Support global variables
      
      * Respond to review comments
      
      * Clarify comment
      
      * Add more details to test error messages
      
      * Remove flaky main..inittask checks
      
      * Rename globals flag to match vscode-go
      
      * Normalize filepath with slash separator
      
      * Improve handling for unknown package
      
      * Tweak error message
      
      * More refactoring, normalization and error details to deal with Win test failures
      
      * Clean up optional launch args processing
      
      * Add CurrentPackage to debugger and use instead of ListPackagesBuildInfo
      Co-authored-by: NPolina Sokolova <polinasok@users.noreply.github.com>
      4980fff8
  15. 10 9月, 2020 2 次提交
  16. 25 8月, 2020 1 次提交
  17. 11 8月, 2020 1 次提交
    • P
      service/dap: Initial support for scopes and variables requests (#2111) · 58ea3234
      polinasok 提交于
      * Initial support for scopes and variables requests
      
      * Add detailed variables test
      
      * Address review comments
      
      * Fix typo and redudant escaped characters
      
      * Bug fix for uninitialized interfaces; no refs needed for 0-size vars
      
      * Minor cosmetic tweaks
      
      * Add incomplete loading test
      
      * Make DeepSource happy
      
      * Remove unnecessary t.Helper() calls
      
      * Update broken test after merge
      
      * Add missing return
      
      * Rework test harness to abort testvariables2 before stack overflow
      
      * Remove accidentally duplicated disconnet
      
      * Test for invalid interface type with regex
      
      * Drop testvariables3, clean up and test unreadable case
      
      * Respond to review comments
      
      * Make expectVar test helper less fragile
      
      * Make DeepSource happy
      
      * Use proc.LoadConfig directly
      
      * Adjust test to avoid var count discrepency between Go 1.15 and earlier
      
      * Make compound keys in a map unique for correct display
      
      * Remove locals num check that will break if more vars are added
      Co-authored-by: NPolina Sokolova <polinasok@users.noreply.github.com>
      58ea3234
  18. 10 7月, 2020 1 次提交
  19. 09 7月, 2020 1 次提交
  20. 02 7月, 2020 1 次提交
  21. 29 5月, 2020 1 次提交
  22. 12 5月, 2020 1 次提交
  23. 02 5月, 2020 1 次提交
  24. 15 4月, 2020 1 次提交
  25. 11 4月, 2020 1 次提交
    • D
      *: Add --tty flag for debug / exec · 3e60ae20
      Derek Parker 提交于
      This flag allows users on UNIX systems to set the tty for the program
      being debugged by Delve. This is useful for debugging command line
      applications which need access to their own TTY, and also for
      controlling the output of the debugged programs so that IDEs may open a
      dedicated terminal to show the output for the process.
      3e60ae20
  26. 02 4月, 2020 1 次提交
  27. 11 3月, 2020 1 次提交
  28. 10 3月, 2020 1 次提交
  29. 05 3月, 2020 1 次提交
  30. 27 2月, 2020 1 次提交
    • E
      service/dap: clean shutdown sequence in server (#1889) · a8355486
      Eli Bendersky 提交于
      Using a stop channel to signal clean shutdown to the server's
      goroutines. Also updates the tests to trigger disconnectChan.
      
      This helps avoid spurious error logs when the client disconnects, when
      Ctrl+C is pressed, etc.
      a8355486
  31. 26 2月, 2020 1 次提交
  32. 22 2月, 2020 1 次提交
  33. 16 2月, 2020 1 次提交
    • P
      service/dap: Initial implementation for 'dlv dap' (#1858) · fbc4623c
      polinasok 提交于
      * Initial implementation for 'dlv dap'
      
      * Fix Travis and AppVeyor failures
      
      * Address review comments
      
      * Address review comments
      
      * Regenrate documentation
      
      * Replace dap server printfs with log.Error
      
      * Update 'dap log'
      
      * Fix typos
      
      * Revert logflags changes that got mixed in by accident
      fbc4623c