vscode c / c ++调试器未附加无响应的扩展主机'ms-vscode.cpptools'

时间:2019-04-13 02:10:37

标签: debugging visual-studio-code

环境:

Ubuntu 18.04 ARM64

Version: 1.34.0 (vscode cloned from github) 
Commit: Unknown Date: Unknown 
Electron: 3.1.8 
Chrome: 66.0.3359.181 
Node.js: 10.2.0 
V8:6.6.346.32 
OS: Linux arm64 4.9.162-22

我安装的唯一扩展名是: C / C ++ IntelliSense,调试和代码浏览。 吉特伦斯

在json服务器日志中:

  

在ws://127.0.0.1:9055 / 2f550349-85be-498d-ad48-8c3bb6ef8a40上侦听的调试器

在扩展主机日志中:

  

ExtensionService#_doActivateExtension vscode.debug-server-ready   {“ startup”:false,“ activationEvent”:“ onDebugResolve”}

在“日志”窗口中:

[renderer1] [warning] UNRESPONSIVE extension host, 'ms-vscode.cpptools' took 90% of 636.705ms, saved PROFILE here: '/tmp/exthost-335d28.cpuprofile' [{"id":"ms-vscode.cpptools","total":574842,"percentage":90}]
[2019-04-13 09:46:42.608] [renderer1] [error] Unsupported client
[2019-04-13 09:47:01.556] [renderer1] [error] Unsupported client
.
.
.

编辑:

重新安装并发现损坏的依赖项:

Updating C/C++ dependencies...

Downloading package 'Mono Framework Assemblies' (5368 KB)  Done!

Installing package 'Mono Framework Assemblies'
Failed at stage: installPackages
Error: end of central directory record signature not found

我不确定这是Linux软件包还是其他js节点?

我已经安装了(linux)mono-complete和mono-runtime!

1 个答案:

答案 0 :(得分:2)

我的问题原来是在vscode-extension中。 Vscode本身还不错!我通过vscode / cpptools git wiki确认,该扩展根本不支持Aarch64(arm64)体系结构(尚未)。 github.com/Microsoft/vscode-cpptools/issues/429此处提供了一个链接。