delve v1.7.3 Release Notes

Release Date: 2021-11-16 // 2 months ago
  • โž• Added

    • Misc changes to prepare for Go 1.18 and generics (#2703, @2745, @aarzilli)
    • ๐Ÿ Watchpoint support (disabled on Windows) (#2651, #2659, #2667, #2769, @aarzilli)
    • Warn about listening to remote connections (#2721, @aarzilli)
    • ๐Ÿ‘Œ Support call injection with rr backend (#2740, @aarzilli)
    • ๐Ÿ‘Œ Support JSON-RPC and DAP on the same port from 'dlv debug/exec/test/attach' (#2755, @polinasok)
    • ๐Ÿ‘ DAP: Remote attach support (#2709, @polinasok)
    • ๐Ÿ‘ DAP: Multi-client support (#2731, #2737, #2781, @polinasok)
    • ๐Ÿ‘ DAP: Logpoints support (#2634, #2730, #2747, #2748, @suzmue)
    • ๐Ÿ‘ DAP: Dissasembly view support (#2713, #2716, #2728, #2742, @suzmue)
    • 0๏ธโƒฃ DAP: Support dlvCwd and use a temp file as default debug binary (#2660, #2734, @hyangah, @polinasok)
    • DAP: Auto-resume execution when setting breakpoints while running (#2726, @suzmue)
    • DAP: Add --client-addr flag to run dap with a predefined client (#2568, @hyangah)
    • ๐Ÿ“œ DAP: Log parsed and applied launch configs (#2732, @polinasok)
    • DAP: Add option to hide system goroutines (#2743, @suzmue)
    • ๐Ÿ‘ DAP: Add support for special 'config' expressions (#2750, @suzmue)

    ๐Ÿ›  Fixed

    • Return correct exit status from Halt command (#2674, @suzmue)
    • ๐Ÿ”€ Merge register data before writing to register (#2699, @mknyszek)
    • Do not assign temp breakpoint IDs to avoid conflicts with user breakpoints (#2650, @aarzilli)
    • ๐Ÿ Miscellaneous fixes for Windows native backend (#2736, @aarzilli)
    • Return error when assigning between function variables (#2692, @aarzilli)
    • โš  Obey logflags config for LoadConfig warnings (#2701, @aarzilli, @suzmue)
    • โ†ช Workaround for debugserver register set bug (#2770, @aarzilli)
    • DAP: Fix nil dereference when byte array cannot be converted to string (#2733, @polinasok)
    • DAP: Fix data race for noDebugProcess.ProcessState (#2735, @polinasok)

    ๐Ÿ”„ Changed

    • Refine handling of version-too-old errors (#2684, #2712, @polinasok, @yang-wei)
    • ๐Ÿ“œ eBPF tracing backend return value parsing (#2704, @derekparker)
    • Replace libbpfgo with cilium/ebpf (##2771, @derekparker)
    • ๐Ÿ”€ DAP: Merge Arguments and Locals scopes (#2717, @suzmue)
    • DAP: Refine launch/attach error visibility (#2671, @polinasok)
    • โ™ป๏ธ DAP: Server refactoring to separate listener and client session layers (#2729, @polinasok)
    • โœ… DAP: Improve shutdown logic and test coverage (#2749, @polinasok)

Previous changes from v1.7.2

  • โž• Added

    • ๐Ÿ“š Documentation: Add notes on porting Delve to other architectures (@aarzilli)
    • โž• Add internal checks to ensure we're synched with Go runtime internals (@aarzilli)
    • ๐Ÿ“œ eBPF backend can parse goroutine info (@derekparker)
    • โž• Add support for debuginfo-find (@derekparker)
    • โž• Add MAKE arguments for GOOS / GOARCH (@cmol)

    ๐Ÿ›  Fixed

    • Correctly check for 1.17 and regabi (@aarzilli)
    • ๐Ÿ–จ Print config output strings quouted (@aarzilli, @krobelus)
    • โšก๏ธ Update check for system goroutines (@suzmue)
    • DAP: Halt before detach in Stop (@polinasok)
    • DAP: Do not send halt request if debuggee is not running (@suzmue)

    ๐Ÿ”„ Changed

    • Include selected goroutine in threads request (@suzmue)
    • โœ‚ Remove individual OS install instructions (@gabriel-vasile)
    • DAP: Show decimal / hex values for uint (@suzmue)
    • 0๏ธโƒฃ Avoid bright colors in default syntax highlighting (@krobelus)