Releases: go-delve/delve
Releases · go-delve/delve
v1.21.1
What's Changed
- proc: read context from sigtrampgo, fixes TestCgoStacktrace2 on 1.21 by @aarzilli in #3401
- Supports sending output to clients when running programs remotely by @tttoad in #3253
- pkg/dwarf/frame: fix FrameDescriptionEntries's Append by @gocurr in #3433
- pkg,service: refactor to use %q instead of "%s" by @alexandear in #3430
- fix typos by @gocurr in #3434
- service/dap: fix test for debug in progress by @suzmue in #3407
- delve: add ppc64le support by @alexsaezm in #2963
- proc: check recursion level when loading pointers by @aarzilli in #3431
- terminal,service: better printing of suspended breakpoints by @aarzilli in #3415
- *: add linux/ppc64le targets by @derekparker in #3435
- pkg/proc: simplify code with trivial changes by @gocurr in #3436
- service/dap: fix typos in comments by @alexandear in #3438
- all: use "len == 0" rather than "len <= 0" when checking empty slice/… by @gocurr in #3439
- terminal: restore breakpoints set with line offset on restart by @aarzilli in #3425
- service/api: in multiline mode print address of pointers by @aarzilli in #3448
- proc,ebpf: mark as unreadable args with unsupported types with ebpf by @aarzilli in #3444
- proc: replace use of runtime.GOARCH with Arch.Name by @aarzilli in #3442
- pkg/terminal: use reflect.Value.IsValid to check a zero Value by @gocurr in #3450
- starbind: fix Starlark slice unmarshaling by @andreimatei in #3454
- logflags: simplify Logger interface by @aarzilli in #3274
- proc: add waitfor option to attach by @aarzilli in #3445
- Documentation,cmd/dlv: clean up command line usage help by @aarzilli in #3395
- *: Fix ppc64le test runs by @derekparker in #3460
- goversion,teamcity: update test matrix and fix build scripts by @aarzilli in #3463
- service/dap: use == to test io.EOF by @gocurr in #3464
- teamcity: hold back linux/386 builds to 1.20 by @aarzilli in #3465
- proc: fix PIE support on macOS by @aarzilli in #3467
- proc: fix stacktraces on freebsd/amd64/go1.20 by @aarzilli in #3458
- locspec: fix SubstitutePath when converting a Windows path to Linux by @aarzilli in #3453
- gobuild: pass user specified arguments of go build first by @aarzilli in #3456
- *: remove deepsource.toml by @derekparker in #3468
- fix(proc): fix nil pointer panic by @Ccheers in #3471
- goversion: parse new version format and simplify version representation by @aarzilli in #3470
- pkg,service: make receiver names consistent by @alexandear in #3473
- pkg/proc: add support for more types in ebpf tracing backend by @derekparker in #3474
- proc: when stepping set condition on thread ID if there is no curg by @aarzilli in #3475
- teamcity: misc changes to CI by @aarzilli in #3476
- cmd/dlv: handle ctrl-c during tracing by @derekparker in #3477
- proc: remove unused functions by @aarzilli in #3479
- DWARF CFI: use a stack for restore/remember opcodes by @javierhonduco in #3480
- proc: disable "wait-for" tests on freebsd by @aarzilli in #3482
- proc,service,terminal: add ways to list goroutines waiting on a channel by @aarzilli in #3481
- proc: refactorings to implement follow-exec mode on Windows by @aarzilli in #3441
- pkg,service: fix typos in comments, exceptions, tests by @alexandear in #3486
- api,dap: fix hexadecimal printing of vars with symbolic const values by @aarzilli in #3487
- go.mod: update version of github.com/cilium/ebpf by @aarzilli in #3491
- Fix PIE tests on ppc64le port by @archanaravindar in #3498
- service/dap: strip package paths from symbols in callstack by @stefanhaller in #3500
- pkg/proc/internal/ebpf: remove redundant nil check by @Juneezee in #3502
- pkg/terminal: add 'packages' command by @hyangah in #3499
- proc,service: simplify tests with T.Setenv by @alexandear in #3503
- _scripts: remove unnecessary os.ExpandEnv by @alexandear in #3504
- service/dap: accept a string list as launch request's buildFlags by @hyangah in #3496
- Various fixes for go 1.22 by @aarzilli in #3455
- proc: move StepInstruction method to TargetGroup by @aarzilli in #3488
- pkg/terminal: support more editors with edit command by @derekparker in #3506
- Enable function call injection in Delve for linux/ppc64le by @archanaravindar in #3449
- fix memory leak by @thechampagne in #3512
- macho: Enable debugging stripped binaries by @pgavlin in #3511
- all: replace deprecated io/ioutil with io and os by @alexandear in #3509
- V1.21.1 by @derekparker in #3518
New Contributors
- @tttoad made their first contribution in #3253
- @gocurr made their first contribution in #3433
- @Ccheers made their first contribution in #3471
- @archanaravindar made their first contribution in #3498
- @stefanhaller made their first contribution in #3500
- @thechampagne made their first contribution in #3512
- @pgavlin made their first contribution in #3511
Full Changelog: https://github.com/go-delve/delve/blob/master/CHANGELOG.md#1211-2023-10-3
v1.21.0
Curated CHANGELOG
https://github.com/go-delve/delve/blob/master/CHANGELOG.md#1210-2023-06-23
What's Changed
- proc: fix TestFrameEvaluation by adding missing assert by @alexandear in #3326
- proc: fix match condition in TestGnuDebuglink by @alexandear in #3327
- proc: disable flaky tests on windows/arm64 by @aarzilli in #3328
- Small test fix for early Go 1.21 by @aarzilli in #3312
- proc: step breakpoints shouldn't hide normal breakpoints by @aarzilli in #3287
- proc: Simplify eBPF backend implementation by @chenhengqi in #3325
- debugger: do not panic if defer location can not be found by @aarzilli in #3329
- proc/native: support core dumping on FreeBSD by @aarzilli in #3305
- service/debugger,terminal: API and user interface for follow exec mode by @aarzilli in #3286
- fix some comments by @cuishuang in #3340
- Add additional information to how to filter goroutines by @alexsaezm in #3341
- service: fix typos in comments by @alexandear in #3344
- proc/test: replace old func testName with T.Name by @alexandear in #3347
- service/dap,service/debugger: refactor regexp funcs by @alexandear in #3348
- service/dap: use reloaded value by @suzmue in #3349
- *: misc improvements to config command and substitute-path rules by @aarzilli in #3335
- pkg/proc: remove memlock limit for ebpf trace backend by @derekparker in #3353
- pkg/proc: add missing response body Close in test by @alexandear in #3355
- chore: don't ignore directory cmd/dlv by @spacewander in #3359
- refactor: replace
Readdir(-1)
withos.ReadDir
by @Juneezee in #3361 - dwarf/godwarf: fix alignment calculation for typedef types by @aarzilli in #3362
- service/dap: refactor funcs always returning nil error by @alexandear in #3357
- trace: add timestamp to the output by @spacewander in #3358
- proc,terminal: read command line of new processes by @aarzilli in #3346
- proc: fix runtime type handling for Go 1.21 by @aarzilli in #3370
- cmd/dlv: logger is not closed in connect command by @alexandear in #3367
- pkg/proc: pad variable mem in extractVarInfoFromEntry by @ZekeLu in #3365
- cmd/dlv,service/dap: use randomized name as default output binary by @aarzilli in #3366
- pkg/proc,pkg/terminal: close response body in tests by @alexandear in #3372
- proc: remove addrret field from Stackframe struct by @aarzilli in #3373
- service: fix typos in comments, logs, tests, errors, and vars by @alexandear in #3378
- dwarf,proc: fix typos in comments and error messages by @alexandear in #3379
- debuginfod-find stderr may contain diagnostics; look at stdout only by @fche in #3381
- documentation: add a note about starlark structs by @andreimatei in #3376
- starbind: Make the time module available to star scripts by @andreimatei in #3375
- dwarf/op: use readMemory function by @aarzilli in #3391
- _scripts: fix typos by @alexandear in #3402
- dwarf: ignore DeclLine for function args by @andreimatei in #3400
- docgen: fix links with trailing dots by @andreimatei in #3399
- service/rpccommon: correct wrong comments by @aarzilli in #3397
- TeamCity: actually run linux/386 tests on linux/386 by @aarzilli in #3392
- debugger: inline clearBreakpoint, createLogicalBreakpoint by @aarzilli in #3389
- starbind: fix use of ptr variables in starlark by @andreimatei in #3386
- cmd/commands: fix to read debug info file from correct directory in trace command by @nozzy123nozzy in #3405
- rpc2, debugger: Fix comments around goroutine grouping by @andreimatei in #3374
- TeamCity: fix linux/arm64 build by @aarzilli in #3403
- terminal: ask for confirmation when using 'quit -c' with breakpoints by @aarzilli in #3398
- proc/test: reenable cgo testing on FreeBSD by @aarzilli in #3394
- terminal: expand ~ in paths passed to 'source' by @aarzilli in #3387
- TeamCity: fix linux/arm64 build (second attempt) by @aarzilli in #3411
- service/dap: update go-dap to latest by @suzmue in #3414
- terminal/starbind: add online help for starlark by @aarzilli in #3388
- pkg/proc: enable basic debug functionality for stripped ELF binaries by @derekparker in #3408
- pkg/proc: fix ebpf probe tracing backend uprobe handling by @derekparker in #3417
- pkg/terminal: regenerate starlark mappings by @derekparker in #3418
- service,terminal: when libraries don't have debug_info print reason by @aarzilli in #3419
- proc: only print warning when gopclntab can not be read for first image by @aarzilli in #3420
- pkg/proc: improve stripped binary support with PIE by @derekparker in #3421
- service/dap: fix typos in comments by @alexandear in #3426
- proc: skip TestDebugStripped on linux/386/pie by @aarzilli in #3427
- all: Bump to v1.21.0 by @aarzilli in #3428
New Contributors
- @chenhengqi made their first contribution in #3325
- @Juneezee made their first contribution in #3361
- @ZekeLu made their first contribution in #3365
- @fche made their first contribution in #3381
- @nozzy123nozzy made their first contribution in #3405