-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
I compiled and launched VsCode Version: 1.28.0
Electron: 2.0.7
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
The architecture is aarch64 (Nvidia Jetson TX2).
Then I installed the cpptools extension via VSIX file, but when I launch the debug process I always get the "Debug adapter process has terminated unexpectedly" error - after which I cannot launch anymore debugs.
The Intellisense feature works.
I should add that, after installing the extension, there is no cpptools-related folder in the ./vscode directory.
How can I solve this?
Thanks in advance.
Update:
when I open a folder in VsCode with the extension installed, the following errors occur:
[Error - 2:14:00 PM] Starting client failed
Launching server using command /home/nvidia/.vscode-oss-dev/extensions/ms-vscode.cpptools-0.18.1/bin/Microsoft.VSCode.CPP.Extension.linux failed.
/home/nvidia/.vscode-oss-dev/extensions/ms-vscode.cpptools-0.18.1/debugAdapters/OpenDebugAD7: line 32: mono: command not found
Here is launch.json:
"version": "0.2.0",
"configurations": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "/home/nvidia/Desktop/chamelea_stream/build/src/cpp/chamelea_stream",
"args": [],
"stopAtEntry": false,
"cwd": "/home/nvidia/Desktop/chamelea_stream/build/src/cpp",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": false
}
]
}
]
}
`[uncaught exception]: Error: read ECONNRESET
onError @ index.js:40
(anonymous) @ index.js:178
emitOne @ events.js:116
emit @ events.js:211
window.onerror @ /home/nvidia/Downloads/vscode-master/vscode/.build/electron/resources/electron.asar/renderer/init.js:142
index.js:43 Error: read ECONNRESET
at _errnoException (util.js:1024)
at Pipe.onread (net.js:615)
onError @ index.js:43
(anonymous) @ index.js:178
emitOne @ events.js:116
emit @ events.js:211
window.onerror @ /home/nvidia/Downloads/vscode-master/vscode/.build/electron/resources/electron.asar/renderer/init.js:142
notificationsAlerts.ts:41 Debug adapter process has terminated unexpectedly
NotificationsAlerts.onDidNotificationChange @ notificationsAlerts.ts:41
(anonymous) @ notificationsAlerts.ts:27
Emitter.fire @ event.ts:140
NotificationsModel.notify @ notifications.ts:113
NotificationService.error @ notificationService.ts:52
RawDebugSession.onDebugAdapterExit @ rawDebugSession.ts:531
(anonymous) @ rawDebugSession.ts:160
Emitter.fire @ event.ts:140
(anonymous) @ debugAdapter.ts:305
emitTwo @ events.js:126
emit @ events.js:214
ChildProcess._handle.onexit @ internal/child_process.js:198`
Reactions are currently unavailable