Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/dlv: print out message with stack trace when breakpoint is hit but has no waiting client #3632

Merged

Conversation

fatanugraha
Copy link
Contributor

@fatanugraha fatanugraha commented Jan 15, 2024

Print out a message and stack trace to the stderr when we hit a breakpoint and the client that sends the continue command has disconnected.

Fixes #3469

@fatanugraha fatanugraha force-pushed the support-disable-panic-catcher branch 2 times, most recently from c12a582 to 66a3316 Compare January 15, 2024 18:04
Copy link
Member

@aarzilli aarzilli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still think that needing this option is a strong symptom that there is something very wrong with your development environment. In the context of running something locally during development you would want the program to stop at a panic to examine why the panic happened.
In the context of running the program in production having a debugger attached to it constantly is a security risk.

@derekparker
Copy link
Member

I'm also inclined to agree with @aarzilli, however I am familiar with the workflow described in the associated issue, and in that context I could see the benefit to the actual crash being apparent and not silenced by Delve by virtue of waiting on user input to produce the panic.

My initial feedback is I am against wholesale deletion of these breakpoints, I think it would be better to actually disable them, so they can be re-enabled later without having to know the specifics of the runtime.

@aarzilli
Copy link
Member

We could also print something if we stop at a breakpoint while there isn't a connected client.

@derekparker
Copy link
Member

We could also print something if we stop at a breakpoint while there isn't a connected client.

That's good too. Might even be nice to print the traceback and panic message automatically when hitting the panic breakpoints anyways, to be honest.

@fatanugraha
Copy link
Contributor Author

I still think that needing this option is a strong symptom that there is something very wrong with your development environment.

I agree with you. This option is needed in our orgs because not everyone are familiar with the debugger and we want to have a setup that is practical and convenient for everyone.

My initial feedback is I am against wholesale deletion of these breakpoints, I think it would be better to actually disable them, so they can be re-enabled later without having to know the specifics of the runtime.

I tried this one actually, instead of deleting them I tried to toggling off those breakpoints, but it's not possible to do that through the API because we will reject any request that has - in it. If we're okay with changing the API behaviour I can adjust the MR to do this instead.

That's good too. Might even be nice to print the traceback and panic message automatically when hitting the panic breakpoints anyways, to be honest.

Ideally yeah this is what I'm looking for, but it seems to be a bit tricky to pull off. Let me see if i can find a way to do this.

@aarzilli
Copy link
Member

Ideally yeah this is what I'm looking for, but it seems to be a bit tricky to pull off. Let me see if i can find a way to do this.

One way to do it would be like this:

  • There's a function in service/rpccommon/server.go called serveJSONCodec, that's the function that serves requests from a client. You can have a boolean there that you set to false when that function exits and check it in (*RPCCallback).Return.

  • This boolean needs to be protected with a mutex so you could copy the syncflag type in service/dap/server.go.

  • Have (*RPCCallback).Return return false if the client has quit and then print something in (*RPCServer).Command in service/rpc2/server.go

@fatanugraha fatanugraha changed the title cmd/dlv: add --disable-break-on-panic to disable panic handler breakpoint auto creation cmd/dlv: print out message for multi accept mode on panic/fatalthrow Jan 25, 2024
@fatanugraha
Copy link
Contributor Author

One way to do it would be like this:

oh ya i have implemented this in this PR but in a different fashion.

Might even be nice to print the traceback and panic message automatically when hitting the panic breakpoints anyways, to be honest.

Initially im thinking to move the unhandled panic breakpoint to somewhere after we print out the message but it's going to be a bit tricky to make it sure it works for older (and future) go versions so I'm going with implementing this on the server side. Hope that's acceptable.

Copy link
Member

@aarzilli aarzilli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(this was a leftover comment)

_fixtures/fatalthrow.go Outdated Show resolved Hide resolved
service/rpc2/server.go Outdated Show resolved Hide resolved
service/rpc2/server.go Outdated Show resolved Hide resolved
service/rpc2/server.go Outdated Show resolved Hide resolved
@derekparker
Copy link
Member

Hey @fatanugraha there has been no update on this PR in a month, are you still planning to work on this?

@fatanugraha
Copy link
Contributor Author

Hi @derekparker I have plans to pick this up again in 1-2 weeks from now, but if anyone else wants to work on this issue I'm also okay with that. Sorry for the delay :(

@derekparker
Copy link
Member

Hi @derekparker I have plans to pick this up again in 1-2 weeks from now, but if anyone else wants to work on this issue I'm also okay with that. Sorry for the delay :(

No worries, and no rush! Just wanted to check in.

service/rpc2/server.go Outdated Show resolved Hide resolved
@TomK
Copy link

TomK commented Apr 5, 2024

@fatanugraha would you like some additional hands on this?
I'm happy to make the changes suggested by @aarzilli

@fatanugraha fatanugraha force-pushed the support-disable-panic-catcher branch from cf2069e to c9531a9 Compare April 7, 2024 07:48
@fatanugraha
Copy link
Contributor Author

fatanugraha commented Apr 7, 2024

Hey folks, sorry for the bad delays. Here's how it looks right now if we hit a breakpoint (screenshot below is when we hit the panic/fatal bp) but the client that sends the continue gone already

Screenshot 2024-04-07 at 15 49 09

@fatanugraha fatanugraha changed the title cmd/dlv: print out message for multi accept mode on panic/fatalthrow cmd/dlv: print out message with stack trace when breakpoint is hit but has no waiting clients Apr 7, 2024
@fatanugraha fatanugraha changed the title cmd/dlv: print out message with stack trace when breakpoint is hit but has no waiting clients cmd/dlv: print out message with stack trace when breakpoint is hit but has no waiting client Apr 7, 2024
cmd/dlv/dlv_test.go Outdated Show resolved Hide resolved
service/rpc2/server.go Outdated Show resolved Hide resolved
@fatanugraha fatanugraha force-pushed the support-disable-panic-catcher branch from ac5dd6c to 593758a Compare April 17, 2024 16:24
service/rpccommon/server.go Outdated Show resolved Hide resolved
service/debugger/debugger.go Outdated Show resolved Hide resolved
service/dap/server.go Outdated Show resolved Hide resolved
@fatanugraha
Copy link
Contributor Author

Sorry folks for the long delay, life got in the way 😅

@fatanugraha fatanugraha force-pushed the support-disable-panic-catcher branch from 9a37b4b to ae15db6 Compare May 30, 2024 17:34
@fatanugraha fatanugraha force-pushed the support-disable-panic-catcher branch from ae15db6 to 6667b65 Compare May 30, 2024 17:35
Copy link
Member

@aarzilli aarzilli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall this is good, except for a couple of changes that may have been caused by a merge conflict. Also could you remove all the extra newlines that you have added at various points.

service/dap/server.go Outdated Show resolved Hide resolved
service/debugger/debugger.go Outdated Show resolved Hide resolved
Copy link
Member

@aarzilli aarzilli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you.

@TomK
Copy link

TomK commented Jun 1, 2024

Great work @fatanugraha 🙏

@TomK
Copy link

TomK commented Jun 6, 2024

@aarzilli sorry to tag you, but what's required now to get this merged in?

@aarzilli
Copy link
Member

aarzilli commented Jun 6, 2024

Review by Derek.

Copy link
Member

@derekparker derekparker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekparker derekparker merged commit 15a9f9d into go-delve:master Jun 12, 2024
2 checks passed

bp := currentThread.Breakpoint
if bp == nil {
fmt.Fprintln(os.Stderr, "bp", bp)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think this log line is necessary. When attaching a debugger to a long running process we get bp <nil> logged out. It'll never be more useful than that.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yurishkuro pushed a commit to jaegertracing/jaeger that referenced this pull request Aug 17, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/go-delve/delve](https://togithub.com/go-delve/delve) |
`v1.22.1` -> `v1.23.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-delve%2fdelve/v1.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-delve%2fdelve/v1.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-delve%2fdelve/v1.22.1/v1.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-delve%2fdelve/v1.22.1/v1.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>go-delve/delve (github.com/go-delve/delve)</summary>

###
[`v1.23.0`](https://togithub.com/go-delve/delve/releases/tag/v1.23.0)

[Compare
Source](https://togithub.com/go-delve/delve/compare/v1.22.1...v1.23.0)

#### What's Changed

- dwarfbuilder: fix makeAbbrevTable by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3665
- \*: misc fixes for go1.23 by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3663
- elfwriter: add WriteSectionHeaders by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3666
- Upgrade github.com/google/go-dap to v0.12.0 by
[@&#8203;suzmue](https://togithub.com/suzmue) in
[go-delve/delve#3673
- pkg/terminal,pkg/proc: Implement next-instruction by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3671
- pkg/terminal: print breakpoint number on stop by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3675
- proc/evalop: remove no longer needed Go 1.17 files by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3676
- Cirrus-CI: update to FreeBSD 13.3 by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3679
- dwarf/loclist: remove impossible condition by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3677
- proc: catch panics when reading debug info for stripped executables by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3678
- proc,go.mod: update x/sys remove KeepAlive calls by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3680
- pkg/proc: defend better against missing DWARF by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3695
- proc: support reading captured variables of closures by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3682
- pkg/terminal: allow postfix if for breakpoint conds by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3693
- proc: change 'step' command so that it steps through go statements by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3686
- cmd/dlv: add shell (non-)completions to flags taking args by
[@&#8203;scop](https://togithub.com/scop) in
[go-delve/delve#3696
- cmd/dlv: fix panic on connect fail by
[@&#8203;scop](https://togithub.com/scop) in
[go-delve/delve#3698
- tests: fix tests on Go 1.23 by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3697
- pkg/terminal: clear erroneous name setting on postfix if by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3702
- pkg/terminal: remove duplicated word by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3707
- cmd/dlv: improve positional argument completion by
[@&#8203;scop](https://togithub.com/scop) in
[go-delve/delve#3699
- proc: generalize escapeCheck and allocString by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3687
- rr: fix gdb parsing by
[@&#8203;howardjohn](https://togithub.com/howardjohn) in
[go-delve/delve#3705
- Add function name even in return trace by
[@&#8203;archanaravindar](https://togithub.com/archanaravindar) in
[go-delve/delve#3712
- pkg/proc: fix watchpoints on macos by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3703
- \_scripts: upgrade to python3 by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3716
- pkg/proc/gdbserial: optimize gdbwire backend by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3715
- gdbserial: update path of lldb protocol extension documentation by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3727
- gdbserial: fixes for rr 5.7.0 by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3718
- pkg/terminal: remove deprecated starlark global options by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3722
- \*: remove redundant lines at the start/end of block by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3730
- Update actions/checkout to v4 by
[@&#8203;abbasudo](https://togithub.com/abbasudo) in
[go-delve/delve#3731
- proc/gdbserial: add environment variables to configure rr invocation
by [@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3726
- proc: initial stepping with range-over-func support by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3736
- cmd/dlv: print out message with stack trace when breakpoint is hit but
has no waiting client by
[@&#8203;fatanugraha](https://togithub.com/fatanugraha) in
[go-delve/delve#3632
- Support to add a new suboption --follow-calls to trace subcommand by
[@&#8203;archanaravindar](https://togithub.com/archanaravindar) in
[go-delve/delve#3594
- proc: fix bug with stack watchpoints going out of scope by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3742
- proc: fix TestRangeOverFuncNext by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3740
- proc: refactor identifier evaluation for range-over-func support by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3738
- service: print better message for unattended stops by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3747
- pkg/astutil,pkg/elfwriter: fix package doc by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3753
- \*: replace fmt.Errorf with errors.New by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3752
- proc: initial support for expressions with range-over-func by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3750
- pkg/terminal: do not use deprecated strings.Title by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3756
- all: fix typos in CHANGELOG, comments and package name by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3757
- refactor: move loadModuleData from runtimeTypeToDIE and expose the
apis by [@&#8203;jayantxie](https://togithub.com/jayantxie) in
[go-delve/delve#3741
- pkg/proc,service/debugger: fix debuginfod-find source by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3762
- fix: mem cache out of range panic caused by overflow by
[@&#8203;jayantxie](https://togithub.com/jayantxie) in
[go-delve/delve#3761
- proc: support stepping through range-over-func statements with
inlining by [@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3755
- service/debugger: evaluate breakpoint vars on g-less threads by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3759
- fix: LoadAbstractOriginAndSpecification infinite loop caused by abstr…
by [@&#8203;zdyj3170101136](https://togithub.com/zdyj3170101136) in
[go-delve/delve#3767
- \*: remove redundant lines at the start/end of block by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3773
- pkg/proc: fix 404 links and change to https by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3775
- go.mod: update gopkg.in/yaml to v3 by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3776
- pkg/terminal: add missing file.Close() call by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3770
- pkg: refactor to .WriteString() instead of .Write(\[]byte()) by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3769
- pkg/dwarf/line: use t.Logf instead of fmt.Printf in tests by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3772
- proc: use .closureptr for stepping through range-over-func statements
by [@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3763
- service/rpc1: add Go Reference doc by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3779
- \*: replace old golang.org links with new go.dev by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3774
- proc: fix bug with range-over-func stepping by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3778
- goversion: add 1.23 to supported versions, update test matrix by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3780
- teamcity: fix typo in configuration by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3783
- \*: release version 1.23.0 by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3782

#### New Contributors

- [@&#8203;scop](https://togithub.com/scop) made their first
contribution in
[go-delve/delve#3696
- [@&#8203;howardjohn](https://togithub.com/howardjohn) made their first
contribution in
[go-delve/delve#3705
- [@&#8203;abbasudo](https://togithub.com/abbasudo) made their first
contribution in
[go-delve/delve#3731
- [@&#8203;fatanugraha](https://togithub.com/fatanugraha) made their
first contribution in
[go-delve/delve#3632
- [@&#8203;jayantxie](https://togithub.com/jayantxie) made their first
contribution in
[go-delve/delve#3741
- [@&#8203;zdyj3170101136](https://togithub.com/zdyj3170101136) made
their first contribution in
[go-delve/delve#3767

**Full Changelog**:
https://github.com/go-delve/delve/blob/master/CHANGELOG.md#1230-2024-07-16

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/jaegertracing/jaeger).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiY2hhbmdlbG9nOmRlcGVuZGVuY2llcyJdfQ==-->

Signed-off-by: Mend Renovate <bot@renovateapp.com>
JaredTan95 pushed a commit to JaredTan95/jaeger that referenced this pull request Aug 28, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/go-delve/delve](https://togithub.com/go-delve/delve) |
`v1.22.1` -> `v1.23.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgo-delve%2fdelve/v1.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgo-delve%2fdelve/v1.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgo-delve%2fdelve/v1.22.1/v1.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgo-delve%2fdelve/v1.22.1/v1.23.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>go-delve/delve (github.com/go-delve/delve)</summary>

###
[`v1.23.0`](https://togithub.com/go-delve/delve/releases/tag/v1.23.0)

[Compare
Source](https://togithub.com/go-delve/delve/compare/v1.22.1...v1.23.0)

#### What's Changed

- dwarfbuilder: fix makeAbbrevTable by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3665
- \*: misc fixes for go1.23 by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3663
- elfwriter: add WriteSectionHeaders by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3666
- Upgrade github.com/google/go-dap to v0.12.0 by
[@&#8203;suzmue](https://togithub.com/suzmue) in
[go-delve/delve#3673
- pkg/terminal,pkg/proc: Implement next-instruction by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3671
- pkg/terminal: print breakpoint number on stop by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3675
- proc/evalop: remove no longer needed Go 1.17 files by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3676
- Cirrus-CI: update to FreeBSD 13.3 by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3679
- dwarf/loclist: remove impossible condition by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3677
- proc: catch panics when reading debug info for stripped executables by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3678
- proc,go.mod: update x/sys remove KeepAlive calls by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3680
- pkg/proc: defend better against missing DWARF by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3695
- proc: support reading captured variables of closures by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3682
- pkg/terminal: allow postfix if for breakpoint conds by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3693
- proc: change 'step' command so that it steps through go statements by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3686
- cmd/dlv: add shell (non-)completions to flags taking args by
[@&#8203;scop](https://togithub.com/scop) in
[go-delve/delve#3696
- cmd/dlv: fix panic on connect fail by
[@&#8203;scop](https://togithub.com/scop) in
[go-delve/delve#3698
- tests: fix tests on Go 1.23 by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3697
- pkg/terminal: clear erroneous name setting on postfix if by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3702
- pkg/terminal: remove duplicated word by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3707
- cmd/dlv: improve positional argument completion by
[@&#8203;scop](https://togithub.com/scop) in
[go-delve/delve#3699
- proc: generalize escapeCheck and allocString by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3687
- rr: fix gdb parsing by
[@&#8203;howardjohn](https://togithub.com/howardjohn) in
[go-delve/delve#3705
- Add function name even in return trace by
[@&#8203;archanaravindar](https://togithub.com/archanaravindar) in
[go-delve/delve#3712
- pkg/proc: fix watchpoints on macos by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3703
- \_scripts: upgrade to python3 by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3716
- pkg/proc/gdbserial: optimize gdbwire backend by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3715
- gdbserial: update path of lldb protocol extension documentation by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3727
- gdbserial: fixes for rr 5.7.0 by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3718
- pkg/terminal: remove deprecated starlark global options by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3722
- \*: remove redundant lines at the start/end of block by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3730
- Update actions/checkout to v4 by
[@&#8203;abbasudo](https://togithub.com/abbasudo) in
[go-delve/delve#3731
- proc/gdbserial: add environment variables to configure rr invocation
by [@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3726
- proc: initial stepping with range-over-func support by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3736
- cmd/dlv: print out message with stack trace when breakpoint is hit but
has no waiting client by
[@&#8203;fatanugraha](https://togithub.com/fatanugraha) in
[go-delve/delve#3632
- Support to add a new suboption --follow-calls to trace subcommand by
[@&#8203;archanaravindar](https://togithub.com/archanaravindar) in
[go-delve/delve#3594
- proc: fix bug with stack watchpoints going out of scope by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3742
- proc: fix TestRangeOverFuncNext by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3740
- proc: refactor identifier evaluation for range-over-func support by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3738
- service: print better message for unattended stops by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3747
- pkg/astutil,pkg/elfwriter: fix package doc by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3753
- \*: replace fmt.Errorf with errors.New by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3752
- proc: initial support for expressions with range-over-func by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3750
- pkg/terminal: do not use deprecated strings.Title by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3756
- all: fix typos in CHANGELOG, comments and package name by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3757
- refactor: move loadModuleData from runtimeTypeToDIE and expose the
apis by [@&#8203;jayantxie](https://togithub.com/jayantxie) in
[go-delve/delve#3741
- pkg/proc,service/debugger: fix debuginfod-find source by
[@&#8203;derekparker](https://togithub.com/derekparker) in
[go-delve/delve#3762
- fix: mem cache out of range panic caused by overflow by
[@&#8203;jayantxie](https://togithub.com/jayantxie) in
[go-delve/delve#3761
- proc: support stepping through range-over-func statements with
inlining by [@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3755
- service/debugger: evaluate breakpoint vars on g-less threads by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3759
- fix: LoadAbstractOriginAndSpecification infinite loop caused by abstr…
by [@&#8203;zdyj3170101136](https://togithub.com/zdyj3170101136) in
[go-delve/delve#3767
- \*: remove redundant lines at the start/end of block by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3773
- pkg/proc: fix 404 links and change to https by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3775
- go.mod: update gopkg.in/yaml to v3 by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3776
- pkg/terminal: add missing file.Close() call by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3770
- pkg: refactor to .WriteString() instead of .Write(\[]byte()) by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3769
- pkg/dwarf/line: use t.Logf instead of fmt.Printf in tests by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3772
- proc: use .closureptr for stepping through range-over-func statements
by [@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3763
- service/rpc1: add Go Reference doc by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3779
- \*: replace old golang.org links with new go.dev by
[@&#8203;alexandear](https://togithub.com/alexandear) in
[go-delve/delve#3774
- proc: fix bug with range-over-func stepping by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3778
- goversion: add 1.23 to supported versions, update test matrix by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3780
- teamcity: fix typo in configuration by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3783
- \*: release version 1.23.0 by
[@&#8203;aarzilli](https://togithub.com/aarzilli) in
[go-delve/delve#3782

#### New Contributors

- [@&#8203;scop](https://togithub.com/scop) made their first
contribution in
[go-delve/delve#3696
- [@&#8203;howardjohn](https://togithub.com/howardjohn) made their first
contribution in
[go-delve/delve#3705
- [@&#8203;abbasudo](https://togithub.com/abbasudo) made their first
contribution in
[go-delve/delve#3731
- [@&#8203;fatanugraha](https://togithub.com/fatanugraha) made their
first contribution in
[go-delve/delve#3632
- [@&#8203;jayantxie](https://togithub.com/jayantxie) made their first
contribution in
[go-delve/delve#3741
- [@&#8203;zdyj3170101136](https://togithub.com/zdyj3170101136) made
their first contribution in
[go-delve/delve#3767

**Full Changelog**:
https://github.com/go-delve/delve/blob/master/CHANGELOG.md#1230-2024-07-16

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/jaegertracing/jaeger).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiY2hhbmdlbG9nOmRlcGVuZGVuY2llcyJdfQ==-->

Signed-off-by: Mend Renovate <bot@renovateapp.com>
Signed-off-by: Jared Tan <jian.tan@daocloud.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: headless startup without break-on-panic
4 participants