-
Notifications
You must be signed in to change notification settings - Fork 797
debug: shifts focus to proc.go
when stepping to next line during remote debugging
#1647
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
Comments
I guess this is a duplicate of #1617 We are still working on improving remote debugging experience with If not, can you try to downgrade vscode to 1.57 and confirm this is the duplicate of #1617 started with 1.58? ps. And, when you compile the target binary, please make sure to pass |
proc.go
when stepping to next line during remote debuggingproc.go
when stepping to next line during remote debugging
Change https://golang.org/cl/338194 mentions this issue: |
After launching dlv dap externally, you can also use |
@hyangah yes, I tried dlv with DAP and it works much better. No weird jumps now {
"name": "Connect to server (DAP)",
"type": "go",
"request": "launch",
"debugAdapter": "dlv-dap",
"port": 12345,
"host": "192.168.1.26",
"mode": "exec",
"program": "/usr/bin/repr",
} And this is how i launch dlv dap --listen=:12345 I built delve from source, and for some reason I didn't get a After some trial and error, i discovered that I have to add
Hi @polinasok , thanks for the tip. Just to clarify what I'm trying to do, in my case I don't build the executable on the target because it is an embedded device. So the target side I have only dlv and the (debug) binary |
You can get dlv-dap binary from Control Panel with
This is very helpful feedback. Thank you. I am updating the documentation to include this missing attribute in the example.
Sure thing. Whichever way works. Just wanted to point out that you have more than one option (attach also), depending on your set up. |
Hi, I was redirected here after posting the issue on the vscode repository (microsoft/vscode#129356)
I'm experiencing the same problem explained in issue microsoft/vscode#65920, but only when remote debugging an ARM64 target
Environment
Steps to reproduce
I attached all the files needed to reproduce the problem (you'll need an ARM64 target, though)
The text was updated successfully, but these errors were encountered: