delve v1.3.0 Release Notes
Release Date: 2019-08-27 // over 4 years ago-
โ Added
- ๐ Go 1.13 support (#1546, @aarzilli)
- ๐ป Starlark scripting language in the command line client (#1466, #1605, @aarzilli, @derekparker)
- ๐ Initial support for FreeBSD (#1480, @rayrapetyan)
- ๐ป Command line flag to continue process immediately after launch/attach (#1585, @briandealwis)
- ๐ง Configuration option for the maximum recursion depth used when printing variables (#1626, @msaf1980)
next
command now takes a numerical option specifying how many times it should be repeated (#1629, @jeremyfaller)- ๐ Command line options to redirect logs to a file or file descriptor (#1525, @aarzilli)
- Ability to read goroutine ancestors if they are enabled by passing
GODEBUG="tracebackancestors=N"
(requires Go >= 1.11) (#1514, #1570, @aarzilli) - ๐ป Breakpoint autocompletion for the command line client (#1612, @qingyunha)
- โ Added reverse step-instruction command for rr backend (#1596, @dpapastamos)
- ๐ Support debugging programs using plugins on Linux with Go 1.12 or later (#1413, #1414, @aarzilli)
- ๐ Improved function call injection (#1503, #1504, #1548, #1591, #1602, @aarzilli)
- ๐ New variable flag to mark variables that have a fake or no-longer-valid address, because they are either stored in registers or in a stack frame that has been removed from the stack (#1619, @aarzilli)
- ๐ Support relative file paths when specifying breakpoint locations (#1478, @chainhelen)
- GetVersion API response now reports currently used backend (#1641, @aarzilli)
so
as alias forstepout
(#1646, @stmuk)
๐ Fixed
- ๐ Fixed values of registers smaller than 64bit (#1583, @derekparker)
- ๐ Fixed reading maps with removed entries in Go 1.12 (#1532, @aarzilli)
- ๐ Fixed possible crash on Linux caused by function call injection (#1538, @aarzilli)
- ๐ Fixed errors reading DWARF sections (#1574, #1582, #1603, @aarzilli)
- Prompt to shutdown headless instance after the target process has exited (#1621, @briandealwis)
- ๐ฆ Stacktraces when a SIGSEGV (or other signal) happens during a cgo call (#1647, @aarzilli)
- Error restarting program with next/step/stepout under some circumstances (#1657, @aarzilli)
- ๐ Other bug fixes (#1487, #1488, #1490, #1500, #1497, #1469, #1553, #1595, #1594, #1620, #1622, #1624, #1637, #1664, #1665, #1668, @derekparker, @aarzilli, @dpapastamos, @pjot726)
๐ Changed
- Delve will refuse to work with a version of Go that is either too old or too new (can be disabled with
--check-go-version=false
) (#1533, @aarzilli) - ๐จ When the value of a variable is determined to be a symbolic constant the numerical value of the symbolic constant will also be printed (#1530, @aarzilli)
- Catch fatal runtime errors (such as the deadlock detector triggering) automatically (#1502, @aarzilli)
- Replaced glide (which we weren't using anymore) with
go mod vendor
in make script (#1606, @derekparker) - โ Removed support for reading interfaces in older versions (prior to 1.7) of Go (#1501, @aarzilli)
- โ Removed support for location expression ":0" and associated API functionality (#1588, @aarzilli)
- Calling an unknown method through the JSON-RPC API will now return an error while previously it would simply be ignored (#1571, @aarzilli)
- ๐ Improved documentation and error messages (#1492, #1520, #1524, #1561, #1562, #1556, #1559, #1567, #1638, #1649, #1662, @derekparker, @Ladicle, @qaisjp, @justinclift, @tschundler, @two, @aarzilli, @dr2chase)