delve v1.4.1 Release Notes

Release Date: 2020-05-22 // 13 days ago
  • ➕ Added

    • 👌 Support for linux/386 added (@chainhelen)
    • 🚀 DAP server initial release (@polinasok, @eliben, @hyangah)
    • 🆕 New command examinemem (or x) allows users to examine raw memory (@chainhelen)
    • 🆕 New command display allows users to print value of an expression every time the program stops (@aarzilli)
    • 🆕 New flag --tty allows users to supply a TTY for the debugged program to use (@derekparker)
    • 👍 Coredump support added for Arm64 (@ossdev07)
    • 🖨 Ability to print goroutine labels (@aarzilli)
    • 👍 Allow printing registers for arbitrary stack frames (@aarzilli)
    • ➕ Add disassemble-flavor to config to specify assembly syntax (@chainhelen)

    🛠 Fixed

    • 👍 Allow function calls on non-struct types (@derekparker)
    • 📜 Dwarf line parsing bug fix (@klemens-morgenstern)
    • 👌 Improved error message when building Delve on unsupported systems (@aarzilli)
    • 👌 Improved error message when trying to execute a binary in an invalid format for host system (@derekparker)
    • 🛠 Fix panic in Delve when using call command with some invalid input (@chainhelen)

    🔄 Changed

    • 👌 Improved output from dlv trace and trace REPL commands (@derekparker)
    • 🐎 Conditional breakpoint performance improvements (@aarzilli)
    • 🐎 Thread register loading performance improvement on gdbserial backend (@derekparker)
    • ⬇️ Reduce default log level to error (@aarzilli)
    • Linux memory read/write optimization using process_vm_read/write (@cuviper)
    • Terminal output of commands divided into categories (@aarzilli)
    • 👉 Use less permissive file settings on history file (@derekparker)
    • Autogenerated interface method calls wrappers now automatically stepped through (@aarzilli)

Previous changes from v1.4.0

  • ➕ Added

    • 👌 Support for Linux/ARM64 (#1733, #1780 @hengwu0, @tykcd996)
    • 👌 Support for Go 1.14 (@aarzilli)
    • ➕ Added an API call that can be used by Delve front-ends to map between package names and build paths (#1784, @aarzilli)
    • ➕ Added a field to goroutine objects returned by the API listing the goroutine's pprof labels (#1836, @nd)
    • 👍 Better support for inlined functions (#1717, #1742, #1807 @aarzilli)

    🛠 Fixed

    • 🛠 Fixed target program crash after step-instruction (#1738, @aarzilli)
    • 🛠 Fixed miscellaneus bugs related to debugging Position Indepentent Executables and plugins (#1775, @aarzilli)
    • 🚚 Always remove breakpoints during detach (#1772, @hengwu0)
    • 🛠 Fixed Delve's exit status after the program has ended (#1781, @derekparker)
    • 🛠 Fixed nil pointer dereference in FunctionReturnLocations (#1789, @aarzilli)
    • 👌 Improved performance of goroutines -t command (#1830, @aarzilli)
    • 🛠 Fixed occasional "Access Denied" error during attach on Windows (#1826, @alexbrainman)
    • 🛠 Fixed parsing of the disassemble command (#1837, @chainhelen)

    🔄 Changed

    • Check that local connections originate from the same User ID as the one that started Delve's instance (#1764, @stapelberg)
    • Mapping between package names and package paths is done using the DW_AT_go_package_name where available (#1757, @aarzilli)
    • 👌 Improvements to documentation and error messages (#1806, #1822, #1827, #1843, #1848, #1850, #1853 @spacewander, @chainhelen, @stigok)
    • ♻️ Miscellaneous code refactorings (#1746, #1777, #1834 @derekparker, @aarzilli)