Sysprogs forums › Forums › VisualGDB › Intellisense issue with Arduino ESP32 Project
- This topic has 3 replies, 2 voices, and was last updated 4 weeks, 1 day ago by
suremicro.
-
AuthorPosts
-
February 26, 2026 at 15:21 #37135
suremicro
ParticipantHi, since upgrading to the Arduino 2.3.8 IDE from 1.8 recently, all VisualGDB Arduino projects show intellisense errors for the ‘default’ libraries – such as Wire or Serial.
For example, a Wire command such as Wire.begin() the Wire portion is highlighted as an error with “[CLang Intellisense] Error: Use of undeclared identifier ‘Wire'” popup message. All serial commands such as Serial.println() has the Serial in purple and the error underscoring println() with “[CLang Intellisense] Error: No matching member function for call to ‘println'”. This being due to it recognising Serial as a constant.
With the Clang debugging on hovering over any error, many errors are listed, such as:
[+1:23:22.460] Previously missing esp_idf_version.h is still missing
[+1:23:22.460] Previously missing soc/soc_caps.h is still missing
[+1:23:22.460] Previously missing driver/gpio.h is still missing
[+1:23:22.460] Previously missing soc/soc_caps.h is still missing
[+1:23:22.460] Previously missing soc/soc_caps.h is still missing
[+1:23:22.461] Previously missing soc/gpio_sig_map.h is still missing
[+1:23:22.462] Previously missing esp_log.h is still missing
[+1:23:22.462] Previously missing rom/ets_sys.h is still missing
[+1:23:22.463] Previously missing esp_timer.h is still missing
[+1:23:22.463] Previously missing freertos/event_groups.h is still missing
[+1:23:22.463] Previously missing freertos/semphr.h is still missing
[+1:23:22.464] Previously missing freertos/queue.h is still missing
[+1:23:22.464] Previously missing freertos/task.h is still missing
[+1:23:22.464] Previously missing freertos/FreeRTOS.h is still missing
[+1:23:22.465] Previously missing esp_sleep.h is still missingThe code still compiles correctly. All the Project Settings are the same as before. I uninstalled Arduino 1.8 before installing the new version.
Visual Studio 2020 17.14.27, Arduino IDE 2.3.8, Visual GDB 6.0R8 5338, Windows 10
ESP32 toolchain GCC 13.2.0; GDB 12.1, Arduino esp32 3.3.7
Any ideas?
-
This topic was modified 1 month ago by
suremicro.
February 28, 2026 at 13:37 #37137suremicro
ParticipantAdditional information: The intellisense works for AVR boards and also ESP-IDF projects, it just seems to be an issue with Arduino ESP32.
I have also uninstalled VisualGDB and Arduino, remove all references and settings I could find and installed both again with the same result.
February 28, 2026 at 18:05 #37139support
KeymasterHi,
No problem, we have found and fixed the root cause. Turns out, the latest version of the ESP32 Arduino package started using the -iprefix/-iwithprefixbefore gcc options to pass include directories to gcc. We have not seen anyone else use them before, so they were not supported by VisualGDB.
We have added support for the options to this build: VisualGDB-6.1.103.5538.msi. It should now work out-of-the-box.
March 1, 2026 at 02:58 #37140suremicro
ParticipantWorks perfectly. Thank you for your quick response and support.
-
This topic was modified 1 month ago by
-
AuthorPosts
- You must be logged in to reply to this topic.