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