delve v1.7.1 Release Notes

Release Date: 2021-08-18 // about 2 months ago
  • ➕ Added

    • EXPERIMENTAL Added support for eBPF based trace backend (@derekparker)
    • ➕ Added fuzzy completion for the CLI for commands and breakpoint locations (@derekparker)
    • ➕ Added stack watchpoints (@aarzilli)
    • ➕ Added verbose version output (@hyangah)
    • 👍 DAP: Support for replay and core modes (@Iggomez)
    • DAP: Added ability to page stack frames (@suzmue)
    • 📇 DAP: Added len as metadata for maps (@suzmue)
    • DAP: Add 'backend' launch/attach attribute (@polinasok)

    🛠 Fixed

    • 🛠 Fix handling of runtime throws (@derekparker)
    • DAP: Handle unexpected debugger termination (@polinasok)

    🔄 Changed

    • ➕ Added configuration for Target to not clear stepping breakpoints (@suzmue)
    • Ignore existing breakpoints for continue-until (@derekparker)
    • 👌 Improve help output for examinemem (@derekparker)
    • Clarify next-while-nexting error (@suzmue)
    • DWARF improvements for additional opcodes (@aarzilli)
    • 🚦 Treat SIGTERM as server disconnect signal (@polinasok)
    • ⚡️ Update Cobra lib to v1.1.3 (@hyangah)
    • 👌 Improvements to 'on' command (@aarzilli)
    • Terminal will now prompt when breakpoint is hit during next/step/stepout (@aarzilli)
    • DAP: Ensure server is always headless and target foregrounded (@polinasok)
    • DAP: Set hit breakpoint IDs (@suzmue)

Previous changes from v1.7.0

  • ➕ Added

    • 👍 Go 1.17 support (@aarzilli, @mknyszek)
    • ➕ Add new API and terminal command for setting watchpoints (@aarzilli)
    • ➕ Add filtering and grouping to goroutines command (@aarzilli)
    • ➕ Added support for hit count condition on breakpoints (@suzmue, @aarzilli)
    • DAP server: Handle SetVariable requests (@hyangah)
    • 👍 DAP server: Add clipboard support (@hyangah)

    🛠 Fixed

    • 🛠 DAP server: Several shutdown / disconnect fixes (@suzmue, @polinasok)
    • 🏁 DAP server: Clean output executable name on Windows (@hyangah)
    • DAP server: Variables response must not have null variables array (@polinasok)
    • 🛠 Fix runtimeTypeToDIE setup (necessary for Go 1.17) (@aarzilli)
    • ✅ Reenable CGO stacktrace test on arm64 (@derekparker)
    • 🛠 Fix incorrect integer casts in freebsd C backend (@dwagin)
    • Ensure correct exit status reported on commands following process death (@derekparker)
    • ♻️ Misc flakey test fixes / test refactoring (@polinasok)
    • 🛠 Fix for frame parameter being ignored in ConvertEvalScope when no goroutine is found (@suzmue)
    • Ensure ContinueOnce returns StopExited if process exited, otherwise return StopUnknown (@polinasok)
    • 🛠 Fix panic in RPC2.ListDynamicLibraries (@derekparker)
    • 🛠 Fix typo in flag passed to check if debugserver supports unmask_signals (@staugust)

    🔄 Changed

    • 🔒 DAP server: Add sameuser security check (@hyangah)
    • DAP server: Changes to context-dependent load limits for string type (@hyangah, @polinasok)
    • DAP server: Add paging for arrays, slices and maps (@suzmue)
    • DAP server: Deemphasize internal runtime stack frames (@suzmue)
    • 👻 DAP server: Add throw reason to exception information upon panic (@suzmue)
    • DAP server: Set breakpoint hit ID (@suzmue)
    • DAP server: Add string value of byte/rune slice as child (@suzmue)
    • 📚 Documentation: Add viminspector to list of editor plugins (@aarzilli)
    • 👌 Support for ZMM registers in gdbserial backend (@aarzilli)
    • ✂ Remove support for stack barriers (@derekparker)
    • 👌 Improve support for DWARF5 (@derekparker)
    • 👌 Improve documentation (@derekparker, @aarzilli)
    • 🖨 Print message and exit if Delve detects it is running under Rosetta on M1 macs (@aarzilli)
    • ⬇️ Drop official Go 1.14 support (@derekparker)