Forum Replies Created
-
AuthorPosts
-
support
KeymasterHi,
Thanks, we have confirmed the issue and released an updated toolchain resolving this (R5).
Regarding OpenOCD, our build is indeed based on a slightly later Git revision than the official binary release, so it might work a bit better. Although the credit goes to Espressif – our changes to OpenOCD are related to better integration with VisualGDB and don’t affect the device-specific part at all.
support
KeymasterHi,
Sorry it took longer than expected with the CC3220 update, as the amount of changes to the SDK was a bit more than we anticipated. We have just released an updated BSP based on the latest SDK 5.20. You can install it conveniently via VisualGDB Package Manager.
September 24, 2021 at 08:05 in reply to: GDB Timeout with commands break-insert and stack-list-frames #31371support
KeymasterHi,
No problem, please refer to the following page for more details: https://visualgdb.com/documentation/gdb/frozen/
support
KeymasterNo problem. Please try this build: VisualGDB-5.6.5.4379.msi
The regular outline still shows the hierarchical structure of the source file, but you can now switch the detail view to show a plain list of all symbols, rather than local references or structure.
BTW, the Globals view in Code Explorer is extremely optimized. It can show a huge number of symbols, and allows quickly filtering them by names or types. It can also track things like references between types (e.g. all types that have fields of type X) or functions allocating/deleting types (i.e. recognizing patterns like (Type *)malloc(…)). If you haven’t checked it out yet, it’s worth a try.
support
KeymasterHi,
Normally, the disassembly warning should not crash Visual Studio. If this happens, please feel free to obtain a stack trace of the crash, and attach it here along with your VisualGDB build number.
You can also increase the disassembly deactivation timeout via settings (Tools->Options->VisualGDB->General->Debug->Disassembly reading timeout).
September 23, 2021 at 17:04 in reply to: ESP-IDF project and per-configuration sdkconfig files #31361support
KeymasterHi,
The logic that copies the file first time you change it indeed doesn’t resolve the variables (we will fix it in the final v5.6 release), and will try to use an incorrect name, however the rest of the GUI will work just fine, as long as you create the sdkconfig-debug and sdkconfig-release files manually.
The GUI for editing the configuration values queries the full path to the SDKConfig file from the ESP-IDF build subsystem, so it will always edit the configuration for the currently loaded configuration. If you would like to edit settings for another configuration, please select it in the VS configuration manager first, so that VisualGDB can query its layout from the ESP-IDF build scripts.
support
KeymasterHi,
Please try running vgagent.exe manually (e.g. vgagent.exe cmd.exe should start cmd.exe). If it’s not starting, something on your computer is preventing it from starting.
support
KeymasterThanks for your feedback. Just to clarify, do you mean the list of all functions in the current source file, or in the entire solution?
September 20, 2021 at 09:50 in reply to: ESP-IDF project and per-configuration sdkconfig files #31348support
KeymasterThanks for renewing your licenses today. Please find the detailed answer to your inquiry below.
The way VisualGDB stores settings for different configurations depends on the project type. For VC++-based projects (e.g. MSBuild, legacy GNU Make, etc), VisualGDB creates a separate .vgdbsettings file for each configuration. For advanced project types, settings for all configurations are the same and are stored in the .vgdbproj or .vgdbcmake file.
That said, you can use the $(ConfigurationName) variable throughout VisualGDB Project Properties to distinguish debug/release configurations. Specifically, for Make-based ESP-IDF projects, you can set VisualGDB Project Properties -> ESP-IDF Project -> SDKConfig File to sdkconfig-$(ConfigurationName) (you would need to copy it manually) and VisualGDB will use it when configuring the project. We have updated the tutorial to reflect this.
You can double-check the file used by VisualGDB by searching the build log for “SDKCONFIG=”.
Custom build steps are indeed shared between the configurations as well, however you can work around it by using the “Reference a reusable action list” step that links to another file with steps. Simply link to a ExtraSteps-$(ConfigurationName).xml file, and VisualGDB will load 2 different files depending on the selected configuration.
September 20, 2021 at 08:01 in reply to: ESP32 IDF project – Clang global symbol cache update hangs #31346support
KeymasterHi,
No problem, we can investigate this further. Please try updating to VisualGDB 5.6 Beta 5. If the problem persists, please try reproducing it on a clean project from scratch and sharing the repro steps we could follow on our side per our problem reporting guidelines.
September 17, 2021 at 08:31 in reply to: New Toolchain GCC 10.3.1 Not Able To Compile Simple Test Program #31340support
KeymasterOh, thanks for pointing this out. We had the same issue with the RISC-V toolchain where our toolchain build passed the tests, but the official one did not.
Our latest ARM toolchain release has fully passed our internal tests with VisualGDB 5.6, so the Ninja executable shipped with it must include a workaround for it as well. In this case, updating to it should be a safe bet.
September 17, 2021 at 08:19 in reply to: New Toolchain GCC 10.3.1 Not Able To Compile Simple Test Program #31338support
KeymasterHi,
This is a known bug of some of the Windows GCC builds: due to some reason, the paths inside the .dep files end up escaped incorrectly. We updated the VisualGDB itself (i.e. MSBuild) to handle the broken paths properly a while ago, but this won’t help with the external tools like Ninja.
Generally, please try using our latest ARM toolchain. It’s built from the official GNUARM sources using the official instructions (+flags enabling support for big-endian devices), and does not have the path encoding bug (we don’t know why the official release does).
You can also try replacing the Ninja executable in the VisualGDB directory with the latest release (or updating to VisualGDB 5.6 that includes a newer version), but this may not work either.
September 17, 2021 at 08:06 in reply to: ESP-IDF project and per-configuration sdkconfig files #31336support
KeymasterHi,
According to our records, your support period has expired. Please kindly renew it here and we will help you get everything working.
September 15, 2021 at 11:32 in reply to: IDF 4.3.1 needs toolchain update to (xtensa-esp32-elf-gcc8_4_0-esp-2021r1) #31328support
KeymasterHi,
No problem. We normally wait until the toolchain is released via the Espressif’s toolchain installer (otherwise it often just doesn’t work due to missing files or compatibility issues), however this time it looks like due to some reason they didn’t update the installer despite releasing a fairly stable toolchain.
Either way, we have updated our ESP32 toolchain to include the 2021r1 tools and ESP-IDF 4.3.1, and verified that basic projects can be built and debugged. You can download the new toolchain via VisualGDB Package Manager, or directly here.
support
KeymasterHi,
Code Explorer has been introduced in VisualGDB 5.6 Beta 5. Please make sure you update to it, and it will appear automatically. You can also manually activate it via View->VisualGDB Code Explorer.
-
AuthorPosts