-
Notifications
You must be signed in to change notification settings - Fork 855
extension: add followExec and followExecRegex options in launch request #3840
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
base: master
Are you sure you want to change the base?
Conversation
|
This PR (HEAD: 2532b54) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/vscode-go/+/696795. Important tips:
|
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/696795. |
|
Message from Qingwei Li: Patch Set 1: (2 comments) Please don’t reply on this GitHub thread. Visit golang.org/cl/696795. |
2532b54 to
c4879dd
Compare
|
This PR (HEAD: c4879dd) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/vscode-go/+/696795. Important tips:
|
|
This PR (HEAD: c9f186c) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/vscode-go/+/696795. Important tips:
|
|
Message from Qingwei Li: Patch Set 4: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/696795. |
|
Message from Hongxiang Jiang: Patch Set 4: Commit-Queue+1 Please don’t reply on this GitHub thread. Visit golang.org/cl/696795. |
|
Message from Go LUCI: Patch Set 4: Dry run: CV is trying the patch. Bot data: {"action":"start","triggered_at":"2025-12-07T08:16:14Z","revision":"fd5f40b43fb6aa7d6363e17b64c6bdf2e5bfc419"} Please don’t reply on this GitHub thread. Visit golang.org/cl/696795. |
|
Message from Hongxiang Jiang: Patch Set 4: -Commit-Queue Please don’t reply on this GitHub thread. Visit golang.org/cl/696795. |
|
Message from Go LUCI: Patch Set 4: This CL has failed the run. Reason: Tryjob golang/try/x_vscode-go-gotip-linux-amd64_docker has failed with summary (view all results):
To reproduce, try Additional links for debugging: Please don’t reply on this GitHub thread. Visit golang.org/cl/696795. |
|
Message from Go LUCI: Patch Set 4: LUCI-TryBot-Result-1 Please don’t reply on this GitHub thread. Visit golang.org/cl/696795. |
Add followExec and followExecRegex options in launch request in
launch.json. Before InitializedEvent is sent back from delve, followExec
and followExecRegex will be set in delve. If the program being
debugged spawns a new child process at the beginning and
breakpoints are set in source code line of child process, these
breakpoints will be hit and shown to the user.
Without these two options, although go-delve/delve#4078 provides
delve command to enable follow-exec in console, user have to
manually enable follow-exec in console each time launching the
debug session.
Fixes #3712