support

Forum Replies Created

Viewing 15 posts - 1,411 through 1,425 (of 7,932 total)
  • Author
    Posts
  • in reply to: VisualGDB Build Window can't open file #31173
    support
    Keymaster

    Thanks for the detailed repro steps. We have tried reproducing it on our side, and got the “../” paths in the build log, however clicking on them worked as expected.

    Please try updating to VisualGDB 5.6 Beta 4. If the problem  persists, please try attaching a .zip archive with the faulty project so that we could recheck it on our side.

    Also, as a side note, moving the project like this would break the connection to the BSP folder, and might interfere with some of the functionality (although not the build log navigation).  A much easier way to accomplish it would be to already create a project in a subdirectory (e.g. c:\projects\name\Solution) and use “..\BSP” instead of “BSP” when converting it to a stand-alone one.

    Also, please consider switching to the Advanced CMake Project Subsystem. It is designed to specifically address the shortcomings of GNU Make and MSBuild, and generally works much better, while allowing you to build the projects outside VisualGDB as well.

    in reply to: Formatting a file always inserts additional space #31164
    support
    Keymaster

    Hi,

    Most likely, you have selected some combination of settings that breaks either the VisualGDB formatting logic, or some other extension.

    First of all, please double-check that you are using the VisualGDB’s Clang IntelliSense, and also recheck whether you are using Clang-format or Sysprogs Formatting Engine as described here.

    If you are using Clang-format, please share your .clang-format file so that we could recheck what is going on.

    If you are using SysprogsFormat, please try resetting all VS-level settings via Tools->Import and Export Settings (you can save them beforehand). If it doesn’t help, please try renaming the HKEY_CURRENT_USER\SOFTWARE\Sysprogs\VisualGDB\Settings\CppEngine key in registry.

    If this fixes the problem, please try restoring the original settings one-by-one. If you can point to a specific combination of settings that triggers this problem, we will be happy to investigate it further.

    in reply to: Debug failed for CppUTest in Linux #31163
    support
    Keymaster

    Hi,

    It looks like you are using an older version of Visual Studio and VisualGDB.

    Please try updating to Visual Studio 16.11.1+ and VisualGDB 5.6 Beta 4.

    in reply to: VisualGDB Build Window can't open file #31162
    support
    Keymaster

    No problem. If the problem can be reliably reproduced on a cleanly created project, please try packing it into a .zip file and attaching it here so that we could try to reproduce it on our side.

    in reply to: VisualGDB Build Window can't open file #31159
    support
    Keymaster

    Hi,

    This would happen if the project contained manually defined path mappings that would map correct paths into incorrect ones.

    Please try resetting mappings via VisualGDB Project Properties -> Path Mapping.

    If it doesn’t help, please try reproducing the problem on a project created from scratch. You can simulate the build output by overriding the build command with “cmd /c type $(ProjectDir)\log.txt” where log.txt is a text file containing the previously captured log.

    support
    Keymaster

    Hi,

    Indeed, the Arduino projects do not have the GUI for changing the hardware register definition file. However, you can always roll it back by removing the MCUDefinitionFile element from the .vgdbproj file, and reloading the project.

    We also advise checking in your project into source control, so that you could track the changes and easily roll them back in case something breaks.

    support
    Keymaster

    Hi,

    The latest v5.6 Beta 4 should work just fine (other than a glitch with VS2022 Preview 2). If not, please try the latest development build: VisualGDB-5.6.5.4280.msi

    If it doesn’t help either, please let us know more details and we will help you get it working.

    in reply to: Sysroot synchronization fails on Pi 4 #31141
    support
    Keymaster

    No problem. SysprogsSync is faster and more efficient than tar or rsync, as it only downloads the mismatching files and also handles complex symbolic links correctly. However, if it doesn’t work, VisualGDB can always fall back to the legacy mechanisms.

    If using tar gets the folder synchronized correctly and using SysprogsSync doesn’t, we can help you get it to work as well, as long as you can provide more details. I.e.:

    1. Specific files that got synchronized with tar and did not get synchronized with SysprogsSync.
    2. A relevant SysprogsSync.log file so that we could recheck whether they were read correctly.
    3. Any relevant details about these files (e.g. they are inside another mounted volume or have special access rights).
    in reply to: analyzer2go-stm32h745zi-q #31139
    support
    Keymaster

    Sorry, we do not support it yet. However, we do support the Nucleo-H743ZI board.

    in reply to: Debugging stand alone project via OpenOCD(STM32MP1) #31138
    support
    Keymaster

    Sorry about that, it was a typo. Indeed, the file is called edp.xml and not bsp.xml.

    in reply to: Debugging stand alone project via OpenOCD(STM32MP1) #31129
    support
    Keymaster

    Hi,

    Thanks for the detailed repro steps. Indeed, the STM32MP1 fork of OpenOCD is designed to not be displayed for regular projects in order to avoid confusion.

    You can work around it by removing the BSPFilter element in the %LOCALAPPDATA%\VisualGDB\EmbeddedDebugPackages\com.sysprogs.arm.openocd.stm32mp1\bsp.xml file and restarting Visual Studio.

    in reply to: VisualGDB Build Window steals focus #31128
    support
    Keymaster

    Hi,

    Please try restarting Visual Studio. If it doesn’t help, you can disable the advanced build window completely via Tools->Options->VisualGDB->Advanced Build->Show build output from VisualGDB projects in = Regular Build Window.

    in reply to: Sysroot synchronization fails on Pi 4 #31118
    support
    Keymaster

    No problem. Please try disabling SysprogsSync for this host via Tools->VisualGDB->SSH Host Manager. This will revert to using tar.

    support
    Keymaster

    Hi,

    No problem and thanks for checking this. We can add the changes on our side if we can confirm that this affects multiple devices and is not a side effect of some very rare condition (e.g. a bug in gcc/gdb).

    If you could reproduce the issue on a simple project created from scratch, please feel free to attach it, and we will try to run a few experiments on it to understand whether it can affect other scenarios. If not, please consider simply patching the framework on your side. You can fork the framework internally (change its ID in the EFP.xml file and move it to a different subdirectory) if you would like to avoid having your changes overwritten by an update.

    in reply to: Sysroot synchronization fails on Pi 4 #31112
    support
    Keymaster

    Thanks, it looks like the synchronization has completed succesfully (other than the warnings). It is hard to say what would cause the error messages, but it should be safe to ignore it, or simply disable SysprogsSync for that host.

Viewing 15 posts - 1,411 through 1,425 (of 7,932 total)