Unable to compile locally, Reload yields same results. openocd@0.10.0-particle.1, False

I have been having issues getting Workbench up and running. I used it a while back with success, but now nothing will compile locally. Cloud compile works. Audit is posted below. I have reinstalled VS Code several time. Also completed several environment reloads.

Issues I can see:
“openocd@0.10.0-particle.1” = False
“buildtools@1.0.3” = False
Local compile options says “Building” but never completes. Terminal does not show anything past

> Executing task in folder eFFF: make -f 'C:\Users\rmiller\.particle\toolchains\buildscripts\1.5.1\Makefile' compile-user <

I think I may have some permissions errors, but can not tell what it is trying to run.

Audit:

To report an issue, visit:
https://community.particle.io/t/information-how-to-report-bugs-and-provide-feedback/44245

{
    "username": "XXX@XXXX.com",
    "workspace": {
        "name": "EFFF (Workspace)",
        "isWorkspace": true,
        "folders": [
            {
                "location": "c:\\Users\\rmiller\\Desktop\\Code\\eFFF",
                "hasValidPath": true,
                "settings": {
                    "firmwareName": "deviceOS",
                    "firmwareVersion": "1.0.1",
                    "targetDevice": "eFGM_Dev",
                    "targetPlatform": "photon",
                    "compileButtonAction": "localAppDeviceOS",
                    "flashButtonAction": "localAppDeviceOS",
                    "disableWelcomeScreen": false,
                    "disableLocalCompilerDirtyCheck": false,
                    "enableVerboseLocalCompilerLogging": true
                },
                "files": [
                    ".vscode",
                    ".vscode\\launch.json",
                    ".vscode\\settings.json",
                    "EFFF.code-workspace",
                    "project.properties",
                    "README.md",
                    "src",
                    "src\\eFFF.ino"
                ]
            }
        ]
    },
    "cli": {
        "binpath": "C:\\Users\\rmiller\\.vscode\\extensions\\particle.particle-vscode-core-1.4.8\\src\\cli\\bin\\windows\\amd64\\particle.exe",
        "ok": true,
        "version": "1.42.0",
        "installed": 1562177065144
    },
    "localCompiler": {
        "ok": false,
        "dependencies": [
            {
                "id": "deviceOS@1.2.0-rc.1",
                "ok": true
            },
            {
                "id": "gcc-arm@5.3.1",
                "ok": true
            },
            {
                "id": "buildtools@1.0.3",
                "ok": false
            },
            {
                "id": "buildscripts@1.5.1",
                "ok": true
            },
            {
                "id": "openocd@0.10.0-particle.1",
                "ok": false
            },
            {
                "id": "deviceOS@1.0.1",
                "ok": true
            }
        ]
    },
    "platform": {
        "os": "windows",
        "type": "Windows_NT",
        "release": "10.0.17134",
        "arch": "x64",
        "path": {
            "key": "Path",
            "value": "C:\\Program Files (x86)\\Google\\Chrome\\Application;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;c:\\Program Files (x86)\\HP\\HP Performance Advisor;C:\\Program Files (x86)\\Shoreline Communications\\ShoreWare Client\\;C:\\Program Files (x86)\\Shoreline Communications\\ShoreWare Client\\win64;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files\\Common Files\\Autodesk Shared\\;C:\\Program Files\\PuTTY\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Users\\rmiller\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Users\\rmiller\\AppData\\Local\\Microsoft\\WindowsApps;C:\\OpenSSL-Win32\\bin;C:\\Users\\rmiller\\AppData\\Local\\particle\\bin"
        },
        "homeDir": "C:\\Users\\rmiller",
        "particleDir": "C:\\Users\\rmiller\\.particle",
        "localCompilerToolchainDir": "C:\\Users\\rmiller\\.particle\\toolchains"
    },
    "env": {
        "ADSK_3DSMAX_x64_2018": "C:\\Program Files\\Autodesk\\3ds Max 2018\\",
        "ADSK_CLM_WPAD_PROXY_CHECK": "FALSE",
        "ALLUSERSPROFILE": "C:\\ProgramData",
        "AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess",
        "APPDATA": "C:\\Users\\rmiller\\AppData\\Roaming",
        "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true",
        "asl.log": "Destination=file",
        "CHROME_CRASHPAD_PIPE_NAME": "\\\\.\\pipe\\crashpad_15916_MELOAMNTWIOSRAEM",
        "CHROME_RESTART": "Google Chrome|Whoa! Google Chrome has crashed. Relaunch now?|LEFT_TO_RIGHT",
        "CommonProgramFiles": "C:\\Program Files\\Common Files",
        "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
        "CommonProgramW6432": "C:\\Program Files\\Common Files",
        "COMPUTERNAME": "ENG42",
        "ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
        "DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
        "ELECTRON_RUN_AS_NODE": "1",
        "FPPUILang": "en-US",
        "FPS_BROWSER_APP_PROFILE_STRING": "Internet Explorer",
        "FPS_BROWSER_USER_PROFILE_STRING": "Default",
        "FP_NO_HOST_CHECK": "NO",
        "HOMEDRIVE": "C:",
        "HOMEPATH": "\\Users\\rmiller",
        "KMP_DUPLICATE_LIB_OK": "TRUE",
        "LOCALAPPDATA": "C:\\Users\\rmiller\\AppData\\Local",
        "LOGONSERVER": "\\\\CECODC233",
        "MKL_SERIAL": "YES",
        "NUMBER_OF_PROCESSORS": "8",
        "OMP_NUM_THREADS": "8",
        "OneDrive": "C:\\Users\\rmiller\\OneDrive",
        "OnlineServices": "Online Services",
        "OOBEUILang": "en-US",
        "OPENSSL_CONF": "C:\\OpenSSL-Win32\\bin\\openssl.cfg",
        "OS": "Windows_NT",
        "Path": "C:\\Program Files (x86)\\Google\\Chrome\\Application;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;c:\\Program Files (x86)\\HP\\HP Performance Advisor;C:\\Program Files (x86)\\Shoreline Communications\\ShoreWare Client\\;C:\\Program Files (x86)\\Shoreline Communications\\ShoreWare Client\\win64;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files\\Common Files\\Autodesk Shared\\;C:\\Program Files\\PuTTY\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Users\\rmiller\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Users\\rmiller\\AppData\\Local\\Microsoft\\WindowsApps;C:\\OpenSSL-Win32\\bin;C:\\Users\\rmiller\\AppData\\Local\\particle\\bin",
        "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC",
        "PIPE_LOGGING": "true",
        "platformcode": "5X",
        "PORTABLE_EXECUTABLE_APP_FILENAME": "particle-installer",
        "PORTABLE_EXECUTABLE_DIR": "C:\\Users\\rmiller\\Downloads",
        "PORTABLE_EXECUTABLE_FILE": "C:\\Users\\rmiller\\Downloads\\ParticleWorkbenchInstaller (1).exe",
        "PROCESSOR_ARCHITECTURE": "AMD64",
        "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 94 Stepping 3, GenuineIntel",
        "PROCESSOR_LEVEL": "6",
        "PROCESSOR_REVISION": "5e03",
        "ProgramData": "C:\\ProgramData",
        "ProgramFiles": "C:\\Program Files",
        "ProgramFiles(x86)": "C:\\Program Files (x86)",
        "ProgramW6432": "C:\\Program Files",
        "PSModulePath": "C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files\\Intel\\Wired Networking\\",
        "PUBLIC": "C:\\Users\\Public",
        "RegionCode": "NA",
        "SESSIONNAME": "Console",
        "SystemDrive": "C:",
        "SystemRoot": "C:\\WINDOWS",
        "TEMP": "C:\\Users\\rmiller\\AppData\\Local\\Temp",
        "TMP": "C:\\Users\\rmiller\\AppData\\Local\\Temp",
        "UGII_3DCONNEXION_DIR": "C:\\Program Files\\3Dconnexion\\3DxWare\\3DxNX64\\ugii_dir\\",
        "UGII_3DCONNEXION_DIR32": "C:\\Program Files\\3Dconnexion\\3DxWare\\3DxNX64\\ugii_dir32\\",
        "USERDNSDOMAIN": "ceco_hou.com",
        "USERDOMAIN": "CECO_HOU",
        "USERDOMAIN_ROAMINGPROFILE": "CECO_HOU",
        "USERNAME": "rmiller",
        "USERPROFILE": "C:\\Users\\rmiller",
        "VBOX_MSI_INSTALL_PATH": "C:\\Program Files\\Oracle\\VirtualBox\\",
        "VERBOSE_LOGGING": "true",
        "VSCODE_CWD": "C:\\Users\\rmiller\\AppData\\Local\\Programs\\Microsoft VS Code",
        "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
        "VSCODE_IPC_HOOK": "\\\\.\\pipe\\96529f87183166854b1f479885a04ea3-1.36.0-main-sock",
        "VSCODE_IPC_HOOK_EXTHOST": "\\\\.\\pipe\\vscode-ipc-c525410f-929b-40da-ad9f-3dd95d0c9c08-sock",
        "VSCODE_LOGS": "C:\\Users\\rmiller\\AppData\\Roaming\\Code\\logs\\20190703T123451",
        "VSCODE_LOG_STACK": "false",
        "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
        "VSCODE_NODE_CACHED_DATA_DIR": "C:\\Users\\rmiller\\AppData\\Roaming\\Code\\CachedData\\0f3794b38477eea13fb47fbe15a42798e6129338",
        "VSCODE_PID": "18184",
        "VSCODE_PREVENT_FOREIGN_INSPECT": "true",
        "windir": "C:\\WINDOWS",
        "windows_tracing_flags": "3",
        "windows_tracing_logfile": "C:\\BVTBin\\Tests\\installpackage\\csilogfile.log"
    },
    "versions": {
        "http_parser": "2.8.0",
        "node": "10.11.0",
        "v8": "6.9.427.31-electron.0",
        "uv": "1.23.0",
        "zlib": "1.2.11",
        "ares": "1.14.0",
        "modules": "69",
        "nghttp2": "1.33.0",
        "napi": "3",
        "openssl": "1.1.0",
        "icu": "62.2",
        "unicode": "11.0",
        "cldr": "33.1",
        "tz": "2019a"
    },
    "vscode": {
        "appName": "Visual Studio Code",
        "appRoot": "c:\\Users\\rmiller\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
        "machineId": "78900cf7997d00620676c25bb87ea2c3f97a46922d22b1f9edf21331f5858f1c",
        "sessionId": "48fb7f8c-74f7-49ce-bf31-8faae689fe1b1562177052701",
        "version": "1.36.0"
    },
    "extensions": [
        {
            "id": "ms-vscode.node-debug",
            "version": "1.35.3"
        },
        {
            "id": "ms-vscode.node-debug2",
            "version": "1.33.0"
        },
        {
            "id": "ms-vscode.references-view",
            "version": "0.0.27"
        },
        {
            "id": "marus25.cortex-debug",
            "version": "0.3.1"
        },
        {
            "id": "ms-vscode.cpptools",
            "version": "0.24.0-insiders3"
        },
        {
            "id": "particle.particle-vscode-core",
            "version": "1.4.8"
        },
        {
            "id": "particle.particle-vscode-pack",
            "version": "1.4.8"
        },
        {
            "id": "particle.particle-vscode-snippets",
            "version": "1.4.8"
        },
        {
            "id": "particle.particle-vscode-theme",
            "version": "1.4.8"
        }
    ]
}

if it's been a while, you are probably hitting:

you should be able to just run the Particle: Reset Environment command to fix things up :+1:

Thank you for the reply m_m, unfortunately I have attempted that several times as well.

I originally was running into a problem where my system was unable to launch some of the background applications because they required “run as administrator”. Up to that point all of the toolchains were returning “TRUE”. After fixing that problem I started running into the issue I have posted. Still stumped.

ah, ok. :thinking: hmmm…

can you try connecting a Particle device via USB, entering DFU mode, then running the following in powershell:

C:\Users\rmiller\.particle\toolchains\buildtools\1.0.3\bin\dfu-util.exe --list 

…and share the info it returns?

likewise, let’s try openocd

C:\Users\rmiller\.particle\toolchains\openocd\0.10.0-particle.1\bin\openocd.exe --help

in both cases i would expect to see an error of some type come back. i’m hoping that’ll shed some light on what is going on :+1:

See my findings below. Note that I have these .exe files set as “run as admin”, however when I run them in VS code or CMD, they close immediately. I captured these after running CMD “as admin”. Not sure if it actually has done anything differently. Not that familiar with this level of code, especially in Windows.

C:\WINDOWS\system32>C:\Users\rmiller\.particle\toolchains\buildtools\1.0.3\bin\dfu-util.exe --list
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Found DFU: [2b04:d006] ver=0250, devnum=7, cfg=1, intf=0, path="1-11", alt=1, name="@DCT Flash   /0x00000000/01*016Kg", serial="XXXXX00010473531363XXXXX"
Found DFU: [2b04:d006] ver=0250, devnum=7, cfg=1, intf=0, path="1-11", alt=0, name="@Internal Flash   /0x08000000/03*016Ka,01*016Kg,01*064Kg,07*128Kg", serial="XXXXX00010473531363XXXXX"

C:\WINDOWS\system32>

and

C:\WINDOWS\system32>C:\Users\rmiller\.particle\toolchains\openocd\0.10.0-particle.1\bin\openocd.exe --help
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Open On-Chip Debugger
Licensed under GNU GPL v2
--help       | -h       display this help
--version    | -v       display OpenOCD version
--file       | -f       use configuration file <name>
--search     | -s       dir to search for config files and scripts
--debug      | -d       set debug level <0-3>
--log_output | -l       redirect log output to file <name>
--command    | -c       run <command>

C:\WINDOWS\system32>```

Okay, I feel a little dumb. I can get the audit results to return good results now that I set VS Code to “Run as Admin”. I still get an exit code 1 when trying to compile locally.

{
    "username": "xxx@xxxx.com",
    "workspace": {
        "name": "EFFF (Workspace)",
        "isWorkspace": true,
        "folders": [
            {
                "location": "c:\\Users\\rmiller\\Desktop\\Code\\eFFF",
                "hasValidPath": true,
                "settings": {
                    "firmwareName": "deviceOS",
                    "firmwareVersion": "1.0.1",
                    "targetDevice": "eFGM_Dev",
                    "targetPlatform": "photon",
                    "compileButtonAction": "localAppDeviceOS",
                    "flashButtonAction": "localAppDeviceOS",
                    "disableWelcomeScreen": false,
                    "disableLocalCompilerDirtyCheck": false,
                    "enableVerboseLocalCompilerLogging": true
                },
                "files": [
                    ".vscode",
                    ".vscode\\launch.json",
                    ".vscode\\settings.json",
                    "EFFF.code-workspace",
                    "photon_firmware_1562178167943.bin",
                    "project.properties",
                    "README.md",
                    "src",
                    "src\\eFFF.ino"
                ]
            }
        ]
    },
    "cli": {
        "binpath": "C:\\Users\\rmiller\\.vscode\\extensions\\particle.particle-vscode-core-1.4.8\\src\\cli\\bin\\windows\\amd64\\particle.exe",
        "ok": true,
        "version": "1.42.0",
        "installed": 1562608062911
    },
    "localCompiler": {
        "ok": true,
        "dependencies": [
            {
                "id": "deviceOS@1.2.0-rc.1",
                "ok": true
            },
            {
                "id": "gcc-arm@5.3.1",
                "ok": true
            },
            {
                "id": "buildtools@1.0.3",
                "ok": true
            },
            {
                "id": "buildscripts@1.5.1",
                "ok": true
            },
            {
                "id": "openocd@0.10.0-particle.1",
                "ok": true
            },
            {
                "id": "deviceOS@1.0.1",
                "ok": true
            }
        ]
    },
    "platform": {
        "os": "windows",
        "type": "Windows_NT",
        "release": "10.0.17134",
        "arch": "x64",
        "path": {
            "key": "Path",
            "value": "C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;c:\\Program Files (x86)\\HP\\HP Performance Advisor;C:\\Program Files (x86)\\Shoreline Communications\\ShoreWare Client\\;C:\\Program Files (x86)\\Shoreline Communications\\ShoreWare Client\\win64;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files\\Common Files\\Autodesk Shared\\;C:\\Program Files\\PuTTY\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Users\\rmiller\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\rmiller\\AppData\\Local\\Microsoft\\WindowsApps;C:\\OpenSSL-Win32\\bin;C:\\Users\\rmiller\\AppData\\Local\\particle\\bin;C:\\Users\\rmiller\\AppData\\Local\\Programs\\Microsoft VS Code\\bin"
        },
        "homeDir": "C:\\Users\\rmiller",
        "particleDir": "C:\\Users\\rmiller\\.particle",
        "localCompilerToolchainDir": "C:\\Users\\rmiller\\.particle\\toolchains"
    },
    "env": {
        "ADSK_3DSMAX_x64_2018": "C:\\Program Files\\Autodesk\\3ds Max 2018\\",
        "ADSK_CLM_WPAD_PROXY_CHECK": "FALSE",
        "ALLUSERSPROFILE": "C:\\ProgramData",
        "AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess",
        "APPDATA": "C:\\Users\\rmiller\\AppData\\Roaming",
        "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true",
        "asl.log": "Destination=file",
        "CommonProgramFiles": "C:\\Program Files\\Common Files",
        "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
        "CommonProgramW6432": "C:\\Program Files\\Common Files",
        "COMPUTERNAME": "ENG42",
        "ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
        "DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
        "ELECTRON_RUN_AS_NODE": "1",
        "FPPUILang": "en-US",
        "FP_NO_HOST_CHECK": "NO",
        "HOMEDRIVE": "C:",
        "HOMEPATH": "\\Users\\rmiller",
        "KMP_DUPLICATE_LIB_OK": "TRUE",
        "LOCALAPPDATA": "C:\\Users\\rmiller\\AppData\\Local",
        "LOGONSERVER": "\\\\xxxxx",
        "MKL_SERIAL": "YES",
        "NUMBER_OF_PROCESSORS": "8",
        "OMP_NUM_THREADS": "8",
        "OneDrive": "C:\\Users\\rmiller\\OneDrive",
        "OnlineServices": "Online Services",
        "OOBEUILang": "en-US",
        "OPENSSL_CONF": "C:\\OpenSSL-Win32\\bin\\openssl.cfg",
        "OS": "Windows_NT",
        "Path": "C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;c:\\Program Files (x86)\\HP\\HP Performance Advisor;C:\\Program Files (x86)\\Shoreline Communications\\ShoreWare Client\\;C:\\Program Files (x86)\\Shoreline Communications\\ShoreWare Client\\win64;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files\\Common Files\\Autodesk Shared\\;C:\\Program Files\\PuTTY\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Users\\rmiller\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\rmiller\\AppData\\Local\\Microsoft\\WindowsApps;C:\\OpenSSL-Win32\\bin;C:\\Users\\rmiller\\AppData\\Local\\particle\\bin;C:\\Users\\rmiller\\AppData\\Local\\Programs\\Microsoft VS Code\\bin",
        "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC",
        "PIPE_LOGGING": "true",
        "platformcode": "5X",
        "PROCESSOR_ARCHITECTURE": "AMD64",
        "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 94 Stepping 3, GenuineIntel",
        "PROCESSOR_LEVEL": "6",
        "PROCESSOR_REVISION": "5e03",
        "ProgramData": "C:\\ProgramData",
        "ProgramFiles": "C:\\Program Files",
        "ProgramFiles(x86)": "C:\\Program Files (x86)",
        "ProgramW6432": "C:\\Program Files",
        "PSModulePath": "C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files\\Intel\\Wired Networking\\",
        "PUBLIC": "C:\\Users\\Public",
        "RegionCode": "NA",
        "SystemDrive": "C:",
        "SystemRoot": "C:\\WINDOWS",
        "TEMP": "C:\\Users\\rmiller\\AppData\\Local\\Temp",
        "TMP": "C:\\Users\\rmiller\\AppData\\Local\\Temp",
        "UGII_3DCONNEXION_DIR": "C:\\Program Files\\3Dconnexion\\3DxWare\\3DxNX64\\ugii_dir\\",
        "UGII_3DCONNEXION_DIR32": "C:\\Program Files\\3Dconnexion\\3DxWare\\3DxNX64\\ugii_dir32\\",
        "USERDNSDOMAIN": "xxxx",
        "USERDOMAIN": "xxxxx",
        "USERDOMAIN_ROAMINGPROFILE": "xxxxx",
        "USERNAME": "xxxxx",
        "USERPROFILE": "C:\\Users\\xxxx",
        "VBOX_MSI_INSTALL_PATH": "C:\\Program Files\\Oracle\\VirtualBox\\",
        "VERBOSE_LOGGING": "true",
        "VSCODE_CWD": "C:\\Users\\xxxxx\\AppData\\Local\\Programs\\Microsoft VS Code",
        "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
        "VSCODE_IPC_HOOK": "\\\\.\\pipe\\96529f87183166854b1f479885a04ea3-1.36.0-main-sock",
        "VSCODE_IPC_HOOK_EXTHOST": "\\\\.\\pipe\\vscode-ipc-732f25e3-0b69-4040-9a26-2454375bbc1f-sock",
        "VSCODE_LOGS": "C:\\Users\\rmiller\\AppData\\Roaming\\Code\\logs\\20190708T124822",
        "VSCODE_LOG_STACK": "false",
        "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
        "VSCODE_NODE_CACHED_DATA_DIR": "C:\\Users\\rmiller\\AppData\\Roaming\\Code\\CachedData\\0f3794b38477eea13fb47fbe15a42798e6129338",
        "VSCODE_PID": "25928",
        "VSCODE_PREVENT_FOREIGN_INSPECT": "true",
        "windir": "C:\\WINDOWS",
        "windows_tracing_flags": "3",
        "windows_tracing_logfile": "C:\\BVTBin\\Tests\\installpackage\\csilogfile.log"
    },
    "versions": {
        "http_parser": "2.8.0",
        "node": "10.11.0",
        "v8": "6.9.427.31-electron.0",
        "uv": "1.23.0",
        "zlib": "1.2.11",
        "ares": "1.14.0",
        "modules": "69",
        "nghttp2": "1.33.0",
        "napi": "3",
        "openssl": "1.1.0",
        "icu": "62.2",
        "unicode": "11.0",
        "cldr": "33.1",
        "tz": "2019a"
    },
    "vscode": {
        "appName": "Visual Studio Code",
        "appRoot": "c:\\Users\\rmiller\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
        "machineId": "78900cf7997d00620676c25bb87ea2c3f97a46922d22b1f9edf21331f5858f1c",
        "sessionId": "161193f4-5081-40f0-a146-6a05ea51c6bb1562608103706",
        "version": "1.36.0"
    },
    "extensions": [
        {
            "id": "ms-vscode.node-debug",
            "version": "1.35.3"
        },
        {
            "id": "ms-vscode.node-debug2",
            "version": "1.33.0"
        },
        {
            "id": "ms-vscode.references-view",
            "version": "0.0.27"
        },
        {
            "id": "marus25.cortex-debug",
            "version": "0.3.1"
        },
        {
            "id": "ms-vscode.cpptools",
            "version": "0.24.0"
        },
        {
            "id": "particle.particle-vscode-core",
            "version": "1.4.8"
        },
        {
            "id": "particle.particle-vscode-pack",
            "version": "1.4.8"
        },
        {
            "id": "particle.particle-vscode-snippets",
            "version": "1.4.8"
        },
        {
            "id": "particle.particle-vscode-theme",
            "version": "1.4.8"
        }
    ]
}

*** WARNING: MAY CONTAIN CONFIDENTIAL INFORMATION - PLEASE SANITIZE BEFORE SHARING ***
To report an issue, visit:
https://community.particle.io/t/information-how-to-report-bugs-and-provide-feedback/44245

I also end up with this dump file

Exception: STATUS_ACCESS_VIOLATION at rip=001800A622D
rax=0000000000030000 rbx=0000000180336300 rcx=00000001803362D8
rdx=0000000000410000 rsi=0000000000000002 rdi=00000001803362D8
r8 =00000000FFFFC88C r9 =0000000180150FA0 r10=0000000100000000
r11=000000010042AC4F r12=00000000FFFFFFFF r13=0000000100482580
r14=0000000180339758 r15=0000000000000000
rbp=0000000000000003 rsp=00000000FFFFC800
program=C:\Users\rmiller\.particle\toolchains\buildtools\1.0.3\bin\sh.exe, pid 1831, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B

:thinking: hm… ok, so we’re well into “weird permissions issues” territory it seems.

i’ll confess i’m a bit foggy on what exactly might be happening but fwiw, i just created a new, non-admin account on my test windows 10 box here and was able to install Particle Workbench + VSCode, create a project, and compile my app without issue. after installing, the Particle: Audit Environment command showed all dependencies as ok: true.

maybe there’s a way to audit your user’s system privileges to identify what special constraints exist?

I tend to agree. I appreciate you taking the time to lend a hand. This is a work machine, so I plan to hand it over to IT to figure out. Either permissions or one of the many, out of date, patched together anti-…virus, mal-ware, spy ware, etc programs that does nothing but prevent everything from working.

1 Like

ok, sounds good. if you learn anything interesting, please share :pray: