support

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 7,911 total)
  • Author
    Posts
  • in reply to: spell check with Visual Studio 2022 #37100
    support
    Keymaster

    Thanks for renewing your license.

    The spell checker is a part of the regular VC++ IntelliSense engine. It is less accurate then the Clang-based IntelliSense provided by VisualGDB, and only works with MSBuild and GNU Make projects (not advanced CMake). You can switch between Clang Intellisense and regular VC++ IntelliSense as shown here.

    Another option would be to enable the Clang’s spell checker by adeding “-fspell-checking” to VisualGDB Project Properties -> IntelliSense Settings -> Additional flags for C/C++ files, and also to the RelevantCFLAGS field in %VISUALGDB_DIR%\CppEngineTuningInfo.xml. That said, there is very little information available on Clang’s spell checker, and it doesn’t seem to be very popular.

    Yet another option would be to use a stand-alone command-line spell checker, and create a custom shortcut to run it (VisualGDB Project Properties -> Custom Shortcuts). This way you could run it via a menu command in Visual Studio or the VisualGDB toolbar.

    in reply to: Arduino esp32 toolchain unusable slow #37098
    support
    Keymaster

    Hi,

    The Arduino-based projects are built using arduino-builder.exe – a tool that comes from the Arduino IDE and handles all the build logic. We forked it to produce accurate IntelliSense information, but did not change anything else.

    You can try capturing the arduino-builder command line as shown here and building the project manually. Is it still slow? Does the command line in Arduino IDE look different?

    Also please note that most slowness issues are caused by external factors (e.g. slow antivirus, slow system drive where the Arduino libraries are placed). E.g. if you whitelisted the Arduino IDE in the antivirus, you would need to whitelist Visual Studio in the same place.

    in reply to: Debug a program already flashed #37096
    support
    Keymaster

    It looks like your technical support period has expired. We would be happy to help you, however we would kindly ask you to renew your technical support on the following page first: https://sysprogs.com/splm/mykey

    in reply to: No toolchain found on Jenkins Build #37094
    support
    Keymaster

    Hi,

    This is to be expected. VisualGDB manages toolchains and BSPs by generating %LOCALAPPDATA%\VisualGDB\FindXXX.props files that have a structure like this:

    • If (ID = ‘xxx’ and VERSION = ‘yyy’)
      • Include <toolchain-specific .props file>
    • If (…)

    If you are running MSBuild from a different user account, the files will not be present in %LOCALAPPDATA%, and MSBuild will not load the correct toolchain properties.

    The easiest workaround would be to simply run the Jenkins task from the same user account (in Jenkins parameters, or using runas). This will automatically pull toolchains, BSPs, licensing information, etc.

    If you absolutely have to use another account, you would need to manually copy the .props files (and possibly, other files like the test frameworks). These files are located under %LOCALAPPDATA%\VisualGDB, so copying the entire directory could be a good starting point.

    You can also configure VisualGDB to generate batch files for unattended building as shown here. This way, the projects can be built in the test environment without having to install VisualGDB there.

     

    in reply to: Multiple Projects in one solution and Intellisense #37092
    support
    Keymaster

    OK, thanks for your patience. The 6.1 release is out, so we are back to adding new features.

    Currently, switching between the projects works out-of-the-box, as long as they are separate projects on the Visual Studio level (e.g. MSBuild, Legacy GNU Make). The GUI for switching is similar to the regular Visual Studio’s one:

    It will not work for Advanced CMake projects where the same file would be reported by multiple targets within the same project. If you need support for this case, let us know and we will add a special check for this.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Multiple Projects in one solution and Intellisense #37083
    support
    Keymaster

    Hi,

    No problem, we should be able to add a setting for this. We are currently running the final tests on the 6.1 release and will look into this soon after. We should be able to post an update in about a week.

    in reply to: How can I update my HAL version #37082
    support
    Keymaster

    No worries. BTW, the other STM32 packages passed the remaining tests and have been released as well.

    We also caught a glitch in the CMake logic of v6.1 that would interfere with the default FreeRTOS port selection. It has been fixed in this build: VisualGDB-6.1.101.5501.msi

    in reply to: How can I update my HAL version #37080
    support
    Keymaster

    No problem and thanks for your patience.

    We have just released an updated BSP for STM32H7RS. You can install it via the VisualGDB Package Manager as usual. We would also recommend updating to this VisualGDB build: VisualGDB-6.1.101.5500.msi. It’s the release candidate for v6.1 that has been tested with the new BSPs.

    We also released updated ARM toolchain (GCC 15.2) and updated OpenOCD (regular + ST fork). Packages for the other STM32 families will be released tomorrow, after they pass the final test run.

    in reply to: Embedded Memory Explorer Name Demangling Fails #37077
    support
    Keymaster

    No problem. In our experience the GNU demangler is a few GCC releases behind the GCC itself. So, there’s a good chance that it will work better with GCC 16.0 or 17.0. You can try checking c++filt whenever a new GCC release comes out, and if it works better, we can easily rebuild our demangler using the same gcc version.

    in reply to: How can I update my HAL version #37076
    support
    Keymaster

    Hi,

    Sorry for the delay. There is no automatic way to update the project to an arbitrary GitHub version of the HAL. You can convert the project to a fully-custom one, and manually replace the relevant files, but it is not guaranteed to work and may require some manual adjustments.

    Automatic one-click updates work for the HAL versions that have been tested by us and released as BSP packages. We are working on a major update to the STM32 BSP system that separates the BSPs for different device families (e.g. STM32H7 vs F4), resolving many glitches caused by slightly different versions of FreeRTOS, AzureRTOS, etc. between the device families. We were originally expecting to release the update yesterday, but there are still a few glitches left to fix on our side. Unless we discover anything completely unexpected, the BSPs should be ready to download in the next couple of days.

    in reply to: Copy project won’t build #37074
    support
    Keymaster

    It looks like your technical support period has expired. We would be happy to help you, however we would kindly ask you to renew your technical support on the following page first: https://sysprogs.com/splm/mykey

    in reply to: Embedded Memory Explorer Name Demangling Fails #37070
    support
    Keymaster

    No problem. Could you please check whether it works with the c++filt.exe executable from our latest MinGW toolchain?

    If not, does it work with any other c++filt version?

    support
    Keymaster

    Hi,

    Normally, the quick info mode should not affect reparse times. We have just rechecked it as follows:

    1. Created a new project from scratch (Embedded STM32, Advanced CMake)
    2. Enabled Clang IntelliSense Diagnostics Console
    3. Tried adding one empty line at a time to the main source file, observing the diagnostics console for reparse messages (Starting operation: Parse)
    4. Triggered a Quick Info popup and switched it to References
    5. Closed the popup and tried adding empty lines again

    In both cases, the file is reparsed whenever you make a large enough break between adding new lines (or when you explicitly save the file). To be more precise, VisualGDB keeps a track on how long it took to parse the file last time, so it waits until there are no edits to the file for 5x the last parse time before it triggers another parse. It should not be related to Quick Info, but can appear inconsistent if the parse time varies between iterations.

    Either way, you can fully tweak this behavior via Tools->Options->Text Editor->C/C++ (VisualGDB) -> Adaptive Reparse. E.g. set the additional delay, or the minimum reparse interval.

    in reply to: Embedded Memory Explorer Name Demangling Fails #37060
    support
    Keymaster

    OK, we have rebuilt the demangler DLL based on GCC 15.2, and also updated our MinGW toolchains based on that version.

    Feel free to try this build: VisualGDB-6.1.101.5494.msi

    in reply to: rpi64 trixie toolchain? #37058
    support
    Keymaster

    Hi,

    OK, we got through the backlog and released the updated versions of both the 32-bit and the 64-bit toolchains.

Viewing 15 posts - 16 through 30 (of 7,911 total)