-
Notifications
You must be signed in to change notification settings - Fork 819
Closed
Labels
DebugIssues related to the debugging functionality of the extension.Issues related to the debugging functionality of the extension.DuplicateMake it obvious when issues are closed as duplicateMake it obvious when issues are closed as duplicateFrozenDueToAgedebug/legacylegacy debug adapter related issues - new issues won't be fixedlegacy debug adapter related issues - new issues won't be fixed
Milestone
Description
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
- Ubuntu 20.04 x64
- vscode 1.58.2 c3f1263
- go1.16.5 linux/amd64
- delve 1.7.0 and 1.6.0
- gopls v0.7.0
- vscode-go v0.26.0
Steps to reproduce
- Create the same main.go used in the referenced issue
package main
import (
"fmt"
"time"
)
func main() {
for {
fmt.Println("Hello, World!")
time.Sleep(2 * time.Second)
}
}
- Build and copy the program on the remote target, then start delve server
HOST="[email protected]"
GO111MODULE=off GOOS=linux GOARCH=arm64 go build -o repr .
scp ./repr $HOST:/usr/bin
ssh $HOST "dlv --headless --listen=:2345 --log --api-version=2 --accept-multiclient exec /usr/bin/repr"
- Start debugging using the following launch configuration:
{
"version": "0.2.0",
"configurations": [
{
"name": "remote debug",
"type": "go",
"request": "attach",
"mode": "remote",
"remotePath": "",
"port": 2345,
"host": "192.168.1.26",
"cwd": "${workspaceFolder}",
}
]
}
I attached all the files needed to reproduce the problem (you'll need an ARM64 target, though)
rodriguise
Metadata
Metadata
Assignees
Labels
DebugIssues related to the debugging functionality of the extension.Issues related to the debugging functionality of the extension.DuplicateMake it obvious when issues are closed as duplicateMake it obvious when issues are closed as duplicateFrozenDueToAgedebug/legacylegacy debug adapter related issues - new issues won't be fixedlegacy debug adapter related issues - new issues won't be fixed