From f95f219c20ec7d67b11c011dff84da74a7fd63de Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Wed, 20 Jun 2018 23:31:49 +0200 Subject: [PATCH] Update GOPATH in VSCode project (now in gerrit) xds-gdb sources was previously in github (github.com/iotbzh/xds-gdb) and then sources have been migrated into AGL gerrit (gerrit.automotivelinux.org/gerrit/src/xds/xds-gdb) So GOPATH must be change accordingly. Change-Id: Ibb62e63fe499d054b7deb171222b79e53d9f899e Signed-off-by: Sebastien Douheret --- .vscode/launch.json | 8 ++++---- .vscode/settings.json | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 6e0c820..70f4f8e 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,7 +9,7 @@ "mode": "debug", "program": "${workspaceRoot}", "env": { - "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", + "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", "XDS_LOGLEVEL": "debug" }, "args": ["-tt", "--help", "--version"], @@ -22,7 +22,7 @@ "mode": "debug", "program": "${workspaceRoot}", "env": { - "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", + "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", "XDS_LOGLEVEL": "debug" }, "args": ["-x", "${workspaceRoot}/__config/gdb-on-target.ini", "-nx"], @@ -35,7 +35,7 @@ "mode": "debug", "program": "${workspaceRoot}", "env": { - "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}" + "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", }, "args": ["-tty", "/dev/pts27", "-nx", "-x", "${workspaceRoot}/__config/gdb-on-m3ulcb_debug_pi.ini"], "showLog": false @@ -47,7 +47,7 @@ "mode": "debug", "program": "${workspaceRoot}", "env": { - "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", + "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}", "XDS_LOGLEVEL": "debug" }, "args": ["-x", "${workspaceRoot}/__config/gdb-on-localhost_debug_pi.ini"], diff --git a/.vscode/settings.json b/.vscode/settings.json index 16b3a00..8c1f563 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,8 @@ // Place your settings in this file to overwrite default and user settings. { + // Specify GOPATH here to override the one that is set as environment variable. The inferred GOPATH from workspace root overrides this, if go.inferGopath is set to true. + "go.gopath": "${workspaceRoot}/../../../../../..", + // Configure glob patterns for excluding files and folders. "files.exclude": { "**/.tmp": true, -- 2.16.6