support

Forum Replies Created

Viewing 15 posts - 526 through 540 (of 7,868 total)
  • Author
    Posts
  • in reply to: Remote directory per Jenkins job build #34504
    support
    Keymaster

    Hi,

    Sure, you can use the per-user variables as shown below

    • Set the default value to the normal location.
    • Try redefining it for your own user account and check the <Project>-<Configuration>.vgdbsettings.<User name>.user file where VisualGDB would store the per-user value.
    • Update the Jenkins build script to generate a similar .user file (with the user account name used by Jenkins, try “echo %USERNAME%” if not sure) with the correct per-build value.

    If you are not planning to use any other per-user settings, you can also use the following syntax when generating the .user file (instead of XML):

    #comment
    VariableName1 := VariableValue1
    VariableName2 := VariableValue2
    in reply to: 404 STM32 2023.7 #34503
    support
    Keymaster

    Hi,

    The new BSP has not been publicly released yet – we are still running final tests on it and will be releasing it next week.

    There was a glitch on our side that initially marked the BSP as public, so if you checked for updates within a ~1-hour interval before we fixed it, VisualGDB would indeed show the incorrect link.

    You can simply ignore it for now (or delete %LOCALAPPDATA%\VisualGDB\PackageCatalog.xml to reset the cache). Once we finish all the tests and release it, VisualGDB will use the correct link.

    in reply to: Demo Project is not working #34499
    support
    Keymaster

    Hi,

    This looks like your toolchain might be corrupt. Please try using a clean toolchain and a matching SD card image asd shown on https://gnutoolchains.com/raspberry/. If it doesn’t help, please try dumping the configuration and build commands to batch files and running them manually as  shown here: https://visualgdb.com/documentation/projects/cmake/#troubleshooting

    If building the project manually doesn’t work either, please double-check your antivirus. It might be preventing parts of the toolchain from starting properly.

    in reply to: Intellisense disappearing Visual Studio 2022 #34498
    support
    Keymaster

    Unfortunately, it is hard to suggest anything specific based on the description you provided.
    In order for us to provide any help with this, we need to be able to reproduce the problem on our side.
    Please provide complete and detailed steps to reproduce the issue as described below:

    1. The steps should begin with launching Visual Studio. They should include every step necessary to create the project from scratch and reproduce the issue.
    2. Please make sure the steps do not involve any 3rd-party code as we will not be able to review it. If the problem only happens with a specific project, please make sure you can reproduce it on a clean project created from scratch. See this page for more information and detailed examples.
    3. The steps should include uncropped screenshots of all wizard pages, VisualGDB Project Properties pages and any other GUI involved in reproducing the problem. This is critical for us to be able to reproduce the problem on our side.

    You can read more about the best way to report VisualGDB issues in our problem reporting guidelines, If you do not wish to document the repro steps and save the screenshots, please consider recording a screen video instead and sending us a link to it.

    Please note that many VisualGDB issues are caused by selecting an incompatible combination of settings at some point. We are generally not able to review specific projects and find the specific settings that were set incorrectly. We recommend checking the projects into source control and keeping a track of all changed settings to avoid breaking the projects.

    Another common cause of errors is updating to a new toolchain/BSP/SDK. Many of these components are maintained by device vendors or communities, and require minor adjustments to the project when switching to newer versions. If you have recently updated any of such components, please consider reverting back to the old version as described here. There is no need to downgrade VisualGDB itself, as it is updated separately from such components.

    You can also try checking various diagnostic output from various parts of VisualGDB as described on this page. Although we won’t be able to review it for a specific project unless the we can reproduce the problem from scratch, checking it might provide some clues on what is causing the unexpected behavior.

    in reply to: Issues after update #34497
    support
    Keymaster

    Hi,

    Most likely, you ended up updating some of the components (e.g. BSP or some libraries to versions  that  are not 100% backward-compatible, and  then tried to troubleshoot it by changing some setting that ended up breaking the project.

    Unfortunately, the issues you are describing do not look like a known issue, so our best advice would be to revert everything to the latest version that worked.

    If you can point a specific setting or update that breaks the project, we can gladly investigate it further.

    in reply to: Remote directory per Jenkins job build #34482
    support
    Keymaster

    Hi,

    Sure, VisualGDB expands the Windows environment variables the same way it does for internal variables like $(ProjectDir). So you could update your Jenkins script to set a variable (e.g. BuildNumber) and then use $(BuildNumber) in the remote directory path in VisualGDB Project Properties.

    in reply to: Missing hardware registers when debugging STM32G431 #34481
    support
    Keymaster

    OK, we have reviewed the patches and integrated them into our repository. Thanks again for the pull request.

    We have also updated the BSP generator to handle the latest SDKs and are working on an updated BSP.

    You can download a preview of the BSP with the latest SDKs here, or simply wait until the next week when we finish running all tests on it and release it officially.

    in reply to: VisualGDB for macOS #34476
    support
    Keymaster

    We agree, however re-writing everything from scratch and maintaining 2 separate copies of every feature would be an overkill for us.

    That said, there has been some progress for running .Net apps on MacOS, and a few cross-platform GUI libraries are appearing, so we might be able to release some subset of the functionality on MacOS sooner or later (although we don’t have any specific plans yet).

    in reply to: Don't see build commands in CMake folder view #34468
    support
    Keymaster

    Hi,

    The Folder View is implemented by Visual Studio itself and not VisualGDB. Hence, the advanced VisualGDB functionality (Advanced IntelliSense, non-intrusive debugging, custom steps/configurations) indeed won’t work in it.

    in reply to: What is the suggested version of Visual Studio #34467
    support
    Keymaster

    Hi,

    We normally advise using the latest Visual Studio (2022), although most VisualGDB functionality works the same with all supported VS versions.

    in reply to: STLINK-V3MINIE Not Detected #34459
    support
    Keymaster

    OK, we have updated both the regular OpenOCD and the ST fork. It should now be equivalent to the version used by STM32CubeIDE.

    You can update conveniently via Tools->VisualGDB->Manage VisualGDB Packages.

    in reply to: esp-idf master branch (5.1) with VisualGDB #34458
    support
    Keymaster

    OK, we have just released an updated ESP32 toolchain that includes ESP-IDF 5.1 and fully supports ESP32-C6. Feel free to update to it via VisualGDB Package Manager.

    We have also published a tutorial on debugging the ESP32-C6 here: https://visualgdb.com/tutorials/esp32/esp32-c6/

    in reply to: Incorrect CLANG Intellisense Error #34456
    support
    Keymaster

    Hi,

    It looks like the error is caused by the differences in the way gcc and clang handle the __VA_OPT__ syntax. ESP-IDF code was never tested with Clang, so it makes sense that it would trigger unexpected errors.

    You can work around it by patching the definition of ESP_LOG_LEVEL_LOCAL() in esp_log.h as follows:

    #ifdef __SYSPROGS_CODESENSE__
    #define ESP_LOG_LEVEL_LOCAL(level, tag, format, ...)
    #else
    #define ESP_LOG_LEVEL_LOCAL(level, tag, format, ...) do {               \
            if ( LOG_LOCAL_LEVEL >= level ) ESP_LOG_LEVEL(level, tag, format, ##__VA_ARGS__); \
        } while(0)
    #endif

    The __SYSPROGS_CODESENSE__ macro is only defined by Clang IntelliSense, so it won’t affect the actual build, but will prevent IntelliSense from trying to parse unsupported syntax.

     

    support
    Keymaster

    Hi,

    Most likely the Clang cache got corrupt. Please try closing the solution and deleting the CodeDB subdirectory (normally inside the .visualgdb subdirectory).

    in reply to: Missing hardware registers when debugging STM32G431 #34441
    support
    Keymaster

    Hi,

    Thanks, this looks great! Our parser indeed only handles about 90% of the registers that are defined in a consistent way (getting it to 100% would require exponentially increasing amount of workarounds and special cases). However, this looks like a solid fix that covers several registers at once.

    We will review the patches this week and will post an update here once done.

Viewing 15 posts - 526 through 540 (of 7,868 total)