Hi all,
I’ve been developing projects with an Argon for the last few months using deviceOS 2.3.0 with VSCode and the Workbench extensions. In the last couple weeks there have been a couple updates suggested which I accepted. One was to update deviceOS to 4.0.0. And I think VSCode had an update to 1.71.2. I’ll add the audit info at the end of the post.
Version: 1.71.2 (user setup)
Commit: 74b1f979648cc44d385a2286793c226e611f59e7
Date: 2022-09-14T21:03:37.738Z
Electron: 19.0.12
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: 10.2.154.15-electron.0
OS: Windows_NT x64 10.0.19044
Sandboxed: No
All was good as I worked on new projects, but yesterday I opened a project (2.3.0) from 2 months ago, and it behaved weird from the beginning. The VSCode explorer window didn’t expand like it usually does to show the src folder contents, etc. And the row of icons that include the compile and flash icons that are usually in the upper right of the ino-file window like this:
were not displayed. And at the bottom of the window, the deviceOS and device info did not appear.
I tried :
- Particle: Setup environment, and manually set it to 2.3.0 for Argon. Still no compile/flash icons.
- Particle: Clean application (local), but this failed with an error box
- Tried setting deviceOS to 4.0.0 and retried Particle:Clean with same error as with 2.3.0.
- Tried uninstalling all of the Workbench extensions, quit/reopen, reinstalling, quit/reopen - but same errors as above, and still no compile/flash icons.
- Have disabled all extensions that don’t have Workbench depending on them.
- Opened other older projects (six of them), and they behave in the same way.
So that’s about it for the tale of woe. It seems like something is not right with the VSCode/Workbench environment, but I’m at a loss of what to try next. Any suggestions would be appreciated.
Thanks.
Particle: Audit
{
"username": "removed@gmail.com",
"workspace": {
"name": "TemperatureHumiditySensor",
"isWorkspace": false,
"folders": []
},
"cli": {
"binpath": "c:\\Users\\iotum\\.vscode\\extensions\\particle.particle-vscode-core-1.15.3\\src\\cli\\bin\\windows\\amd64\\particle.exe",
"ok": true,
"version": "3.5.0",
"installed": 1663527815352
},
"localCompiler": {
"ok": true,
"dependencies": [
{
"id": "deviceOS@4.0.0",
"ok": true
},
{
"id": "gcc-arm@10.2.1",
"ok": true
},
{
"id": "buildtools@1.1.1",
"ok": true
},
{
"id": "buildscripts@1.11.0",
"ok": true
},
{
"id": "openocd@0.11.0-particle.4",
"ok": true
},
{
"id": "deviceOS@3.3.0",
"ok": true
},
{
"id": "buildscripts@1.10.0",
"ok": true
},
{
"id": "deviceOS@2.3.0",
"ok": true
},
{
"id": "gcc-arm@9.2.1",
"ok": true
},
{
"id": "deviceOS@1.5.2",
"ok": true
},
{
"id": "gcc-arm@5.3.1",
"ok": true
}
]
},
"platform": {
"os": "windows",
"type": "Windows_NT",
"release": "10.0.19044",
"arch": "x64",
"path": {
"key": "Path",
"value": "C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\PuTTY\\;C:\\Users\\iotum\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\iotum\\AppData\\Local\\particle\\bin;C:\\OpenSSL-Win32\\bin;C:\\Users\\iotum\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
"entries": [
"C:\\Windows\\system32",
"C:\\Windows",
"C:\\Windows\\System32\\Wbem",
"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\",
"C:\\Windows\\System32\\OpenSSH\\",
"C:\\Program Files\\Git\\cmd",
"C:\\Program Files (x86)\\PuTTY\\",
"C:\\Users\\iotum\\AppData\\Local\\Microsoft\\WindowsApps",
"C:\\Users\\iotum\\AppData\\Local\\particle\\bin",
"C:\\OpenSSL-Win32\\bin",
"C:\\Users\\iotum\\AppData\\Local\\Programs\\Microsoft VS Code\\bin"
]
},
"homeDir": "C:\\Users\\iotum",
"particleDir": "C:\\Users\\iotum\\.particle",
"particleToolchainDir": "C:\\Users\\iotum\\.particle\\toolchains"
},
"env": {
"ALLUSERSPROFILE": "C:\\ProgramData",
"APPDATA": "C:\\Users\\iotum\\AppData\\Roaming",
"APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "1",
"CHROME_CRASHPAD_PIPE_NAME": "\\\\.\\pipe\\crashpad_7148_DFUTLIFEGVGWLTQN",
"CommonProgramFiles": "C:\\Program Files\\Common Files",
"CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
"CommonProgramW6432": "C:\\Program Files\\Common Files",
"COMPUTERNAME": "URSA",
"ComSpec": "C:\\Windows\\system32\\cmd.exe",
"DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
"ELECTRON_RUN_AS_NODE": "1",
"HOMEDRIVE": "C:",
"HOMEPATH": "\\Users\\iotum",
"LOCALAPPDATA": "C:\\Users\\iotum\\AppData\\Local",
"LOGONSERVER": "\\\\URSA",
"NUMBER_OF_PROCESSORS": "4",
"OneDrive": "C:\\Users\\iotum\\OneDrive",
"OneDriveConsumer": "C:\\Users\\iotum\\OneDrive",
"OPENSSL_CONF": "C:\\OpenSSL-Win32\\bin\\openssl.cfg",
"ORIGINAL_XDG_CURRENT_DESKTOP": "undefined",
"OS": "Windows_NT",
"Path": "C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files\\Git\\cmd;C:\\Program Files (x86)\\PuTTY\\;C:\\Users\\iotum\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\iotum\\AppData\\Local\\particle\\bin;C:\\OpenSSL-Win32\\bin;C:\\Users\\iotum\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
"PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC",
"PROCESSOR_ARCHITECTURE": "AMD64",
"PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 140 Stepping 1, GenuineIntel",
"PROCESSOR_LEVEL": "6",
"PROCESSOR_REVISION": "8c01",
"ProgramData": "C:\\ProgramData",
"ProgramFiles": "C:\\Program Files",
"ProgramFiles(x86)": "C:\\Program Files (x86)",
"ProgramW6432": "C:\\Program Files",
"PSModulePath": "C:\\Program Files\\WindowsPowerShell\\Modules;C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules",
"PUBLIC": "C:\\Users\\Public",
"SESSIONNAME": "Console",
"SystemDrive": "C:",
"SystemRoot": "C:\\Windows",
"TEMP": "C:\\Users\\iotum\\AppData\\Local\\Temp",
"TMP": "C:\\Users\\iotum\\AppData\\Local\\Temp",
"USERDOMAIN": "URSA",
"USERDOMAIN_ROAMINGPROFILE": "URSA",
"USERNAME": "iotum",
"USERPROFILE": "C:\\Users\\iotum",
"VSCODE_AMD_ENTRYPOINT": "vs/workbench/api/node/extensionHostProcess",
"VSCODE_CODE_CACHE_PATH": "C:\\Users\\iotum\\AppData\\Roaming\\Code\\CachedData\\74b1f979648cc44d385a2286793c226e611f59e7",
"VSCODE_CWD": "C:\\Users\\iotum\\AppData\\Local\\Programs\\Microsoft VS Code",
"VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
"VSCODE_IPC_HOOK": "\\\\.\\pipe\\0b12b46beefc5052ad6397f3447719c1-1.71.2-main-sock",
"VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
"VSCODE_PID": "7148",
"windir": "C:\\Windows"
},
"versions": {
"node": "16.14.2",
"v8": "10.2.154.15-electron.0",
"uv": "1.43.0",
"zlib": "1.2.11",
"brotli": "1.0.9",
"ares": "1.18.1",
"modules": "106",
"nghttp2": "1.45.1",
"napi": "8",
"llhttp": "6.0.4",
"openssl": "1.1.1",
"cldr": "40.0",
"icu": "70.1",
"tz": "2021a3",
"unicode": "14.0",
"electron": "19.0.12",
"microsoft-build": "15373404"
},
"vscode": {
"appName": "Visual Studio Code",
"appRoot": "c:\\Users\\iotum\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
"machineId": "6f11e1d9e60f18321a000f035986e32f8cc0feb2fc095787a2f3cf5d802847e1",
"sessionId": "d75ec364-74d6-4014-806d-f9433bd9b9b71663599383065",
"version": "1.71.2"
},
"extensions": [
{
"id": "ms-vscode-remote.remote-wsl-recommender",
"version": "0.0.16"
},
{
"id": "ms-vscode.js-debug",
"version": "1.71.1"
},
{
"id": "ms-vscode.js-debug-companion",
"version": "1.0.18"
},
{
"id": "ms-vscode.vscode-js-profile-table",
"version": "1.0.3"
},
{
"id": "marus25.cortex-debug",
"version": "1.6.3"
},
{
"id": "ms-vscode.cpptools",
"version": "1.12.4"
},
{
"id": "ms-vscode.cpptools-extension-pack",
"version": "1.3.0"
},
{
"id": "particle.particle-vscode-core",
"version": "1.15.3"
},
{
"id": "particle.particle-vscode-pack",
"version": "1.15.3"
},
{
"id": "particle.particle-vscode-snippets",
"version": "1.15.3"
},
{
"id": "particle.particle-vscode-theme",
"version": "1.15.3"
}
]
}