PIO 3.6.3 Vscode 1.30.0 multiple issues


#1

Hello,

Since my system decided to update vscode to the latest release (1.30), I noticed PIO is kinda broke to me:

  • Intellisence seems missing all the header files inside the project include directory
  • the debugger crash with a mysterious 'debug adaptor has terminated unexpectedly error 1"

The same project was without issue yesterday and the debugger ran well too.

Thanks for your support.
Laurent

UPDATE
Removing .vscode fixed the intelisense issue.

Additional info:
vscode : Version 1.30.0 (1.30.0) 018-12-11T22:15:00.169Z

PIO:
lcc$ platformio upgrade
You’re up-to-date!
PlatformIO 3.6.3 is currently the newest version available.
Lcs-iMac:xxxx lcc$ platformio update
Updating tool-scons @ 2.20501.7 [Up-to-date]
Updating tool-unity @ 1.20403.0 [Up-to-date]
Updating contrib-pysite @ 2.27.181127 [Up-to-date]
Updating contrib-piohome @ 2.0.0 [Up-to-date]
Updating tool-pioplus @ 2.0.1 [Up-to-date]

Platform Manager

Platform ST STM32

Updating ststm32 @ 4.5.0 [Up-to-date]
Updating tool-stm32duino @ 1.0.0 [1.0.1]
Uninstalling tool-stm32duino @ 1.0.0: [OK]
PackageManager: Installing tool-stm32duino @ 1.0.1
Downloading [####################################] 100%
Unpacking [####################################] 100%
tool-stm32duino @ 1.0.1 has been successfully installed!
Updating framework-arduinoststm32 @ 2.2.180809 [Up-to-date]
Updating toolchain-gccarmnoneeabi @ 1.70201.0 [Up-to-date]
Updating tool-stlink @ 1.10400.0 [Up-to-date]
Updating tool-openocd @ 1.1000.6 [Up-to-date]
Updating framework-mbed @ 5.51001.181029 [Up-to-date]

Library Manager

Updating Adafruit_GFX @ 7fb1d4d352 [Up-to-date]
Updating Adafruit_RTCLib @ 2c4e81ecda [Up-to-date]
Updating Crypto @ f04410cef0 [Up-to-date]
Updating RNG @ 2eb9094398 [Up-to-date]
Updating RotaryEncoder @ 8000eddbf4 [Up-to-date]
Updating SDFileSystem @ d10a519c09 [Up-to-date]
Updating U8glib-HAL @ 0.4 [Up-to-date]
Updating eeprom @ 925096a4c7 [Up-to-date]
Updating oldemenu @ 0.0.0 [Detached]
Lcs-iMac:Spankomat lcc$ platformio update
Updating tool-scons @ 2.20501.7 [Up-to-date]
Updating tool-unity @ 1.20403.0 [Up-to-date]
Updating contrib-pysite @ 2.27.181127 [Up-to-date]
Updating contrib-piohome @ 2.0.0 [Up-to-date]
Updating tool-pioplus @ 2.0.1 [Up-to-date]

Platform Manager

Platform ST STM32

Updating ststm32 @ 4.5.0 [Up-to-date]
Updating tool-stm32duino @ 1.0.1 [Up-to-date]
Updating framework-arduinoststm32 @ 2.2.180809 [Up-to-date]
Updating toolchain-gccarmnoneeabi @ 1.70201.0 [Up-to-date]
Updating tool-stlink @ 1.10400.0 [Up-to-date]
Updating tool-openocd @ 1.1000.6 [Up-to-date]
Updating framework-mbed @ 5.51001.181029 [Up-to-date]

Library Manager

Updating Adafruit_GFX @ 7fb1d4d352 [Up-to-date]
Updating Adafruit_RTCLib @ 2c4e81ecda [Up-to-date]
Updating Crypto @ f04410cef0 [Up-to-date]
Updating RNG @ 2eb9094398 [Up-to-date]
Updating RotaryEncoder @ 8000eddbf4 [Up-to-date]
Updating SDFileSystem @ d10a519c09 [Up-to-date]
Updating U8glib-HAL @ 0.4 [Up-to-date]
Updating eeprom @ 925096a4c7 [Up-to-date]
Updating oldemenu @ 0.0.0 [Detached]
Lcs-iMac:Spankomat lcc$ platformio update
Updating tool-scons @ 2.20501.7 [Up-to-date]
Updating tool-unity @ 1.20403.0 [Up-to-date]
Updating contrib-pysite @ 2.27.181127 [Up-to-date]
Updating contrib-piohome @ 2.0.0 [Up-to-date]
Updating tool-pioplus @ 2.0.1 [Up-to-date]

Platform Manager

Platform ST STM32

Updating ststm32 @ 4.5.0 [Up-to-date]
Updating tool-stm32duino @ 1.0.1 [Up-to-date]
Updating framework-arduinoststm32 @ 2.2.180809 [Up-to-date]
Updating toolchain-gccarmnoneeabi @ 1.70201.0 [Up-to-date]
Updating tool-stlink @ 1.10400.0 [Up-to-date]
Updating tool-openocd @ 1.1000.6 [Up-to-date]
Updating framework-mbed @ 5.51001.181029 [Up-to-date]

Library Manager

Updating Adafruit_GFX @ 7fb1d4d352 [Up-to-date]
Updating Adafruit_RTCLib @ 2c4e81ecda [Up-to-date]
Updating Crypto @ f04410cef0 [Up-to-date]
Updating RNG @ 2eb9094398 [Up-to-date]
Updating RotaryEncoder @ 8000eddbf4 [Up-to-date]
Updating SDFileSystem @ d10a519c09 [Up-to-date]
Updating U8glib-HAL @ 0.4 [Up-to-date]
Updating eeprom @ 925096a4c7 [Up-to-date]
Updating oldemenu @ 0.0.0 [Detached]


#2

Indeed, VSCode should automatically update IntelliSense database. We fixed a critical bug in the latest 1.3.0 release which broke code IntelliSense for ARM mbed projects.

Removed .vscode folder and reloading of VSCode is a right solution if it does not work automatically.