support

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 7,541 total)
  • Author
    Posts
  • in reply to: element template for cmake project #35592
    support
    Keymaster

    Hi,

    Sure, VisualGDB has a mechanism for customizing both target and item templates, although it wasn’t documented much.

    We have added a page explaining it here: https://visualgdb.com/documentation/cmake/templates/

    in reply to: FreeRTOS debug with STMCubeMX projects #35589
    support
    Keymaster

    Hi,

    No worries. For what it’s worth, the FreeRTOS Live Watch functionality is implemented in a separate open-source plugin, so you can always tweak it if your setup involves something very specific that otherwise doesn’t work.

    in reply to: Qt5 Project on Raspberry Pi 5 Bookworm #35580
    support
    Keymaster

    Thanks, the “undefined reference” error is actually a glitch in the new 64-bit Raspberry Pi toolchain.

    Please try creating the <SysGCC>\raspberry64\aarch64-linux-gnu\sysroot\etc\ld.so.conf file with the following contents:

    /opt/vc/lib
    # Multiarch support
    /lib/aarch64-linux-gnu
    /usr/lib/aarch64-linux-gnu
    /usr/lib/aarch64-linux-gnu/libfakeroot
    # libc default configuration
    /usr/local/lib

    We have also updated the toolchain on our side to include this file out-of-the-box.

    • This reply was modified 3 days, 22 hours ago by support. Reason: updated path
    in reply to: Qt5 Project on Raspberry Pi 5 Bookworm #35578
    support
    Keymaster

    Hi,

    Thanks for renewing. Please make sure you update to VisualGDB 6.0, then follow the steps below:

    1. Delete the toolchain you have.
    2. Download a toolchain from here that matches your SD card image.
    3. Make sure you can build and debug a basic executable (non Qt-based) using that toolchain. If it doesn’t work, replace your SD card contents with a fresh image per our toolchain list.
    4. Once the basic program works, follow our Qt/CMake tutorial to get everything working.
    support
    Keymaster

    Hi,

    Thanks, we have linked your key to your profile. Regarding this error, please try enabling View->Other Windows->VisualGDB Diagnostics Console and starting a profiling session without debugging.

    If it still doesn’t work, please take a note of the valgrind command line shown in the VisualGDB diagnostics console. It will show the path to the profiled program and some other arguments.

    Please then try manually running valgrind with that program without any other options, e.g.

    valgrind /tmp/my-program

    Does valgrind work when launched manually? If yes, please post the exact command line you captured from VisualGDB Diagnostics Console and the exact command that worked manually.

    in reply to: Qt5 Project on Raspberry Pi 5 Bookworm #35573
    support
    Keymaster

    Hi,

    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: Set relative path to toolchain in project file(s) #35565
    support
    Keymaster

    Hi,

    The file is automatically updated when VisualGDB is loaded inside Visual Studio. Just installing the toolchain outside VisualGDB won’t change it.

    You can try running VisualGDB.exe /pkgmgr to force VisualGDB to reload the toolchain list.

    If it doesn’t help, something else could be preventing VisualGDB from rebuilding the file. In this case please try renaming the file, restarting Visual Studio and creating a new MSBuild project using one of the toolchains using the wizard. If the file is not regenerated after it (or is missing some toolchains), please let us know and we will investigate it further.

    in reply to: Set relative path to toolchain in project file(s) #35563
    support
    Keymaster

    Hi,

    Thanks for renewing your licenses. We will be happy to help.

    For MSBuild projects, VisualGDB locates the toolchains as shown below:

    1. The .vcxproj file defines the ToolchainID and ToolchainVersion variables.
    2. MSBuild loads the %LOCALAPPDATA%\VisualGDB\FindToolchain.props file that matches these variables against a list of installed toolchains, and sets ToolchainDir.
    3. The rest of the build rules run the compiler and other tools from ToolchainDir.

    Normally, this should only find the toolchain if both ID and version match, or the version is not specified. However, modifications to project files or FindToolchain.props (e.g. hardcoding the toolchain directory) would interfere with it.

    We would suggest double-checking the relevant variable definitions in the .vcxproj file and FindToolchain.props. E.g. you can try setting the version, ID, or the toolchain directory to completely broken values that would trigger a build error to see which of the statements get actually processed. It may turn out that some other property sheet or imported project file overrides some of the variables in a completely unexpected way.

    in reply to: Non-existent Support #35560
    support
    Keymaster

    You can use the following trial extension voucher to get extra 15 days of the trial: [removed]

    In Visual Studio try starting the VisualGDB trial, if you have exceeded the trial days then it will fail and display a field to enter the trial extension voucher code. If you are currently using the trial then the field will also appear once your trial ends. The extra trial time will start counting down only once you use the trial extension code.

    Feel free to contact us for support if you have any questions or issues setting up your projects with VisualGDB.

    • This reply was modified 1 week ago by support. Reason: removed voucher code
    in reply to: Non-existent Support #35558
    support
    Keymaster

    Hi,

    We have received all 6 emails from you and answered all of them within a day each. However, it looks like your spam filter is deleting our replies.

    We do not know why it blocks the replies from our ticket system, but not from the forum. Either way, you can post your questions here if you prefer. We treat email inquiries and forum inquiries the same way and try to answer them within 2 business days.

    Regarding that specific error, it looks like something in your system is indeed resetting the environment variables for the Visual Studio process. It could be a bug in the antivirus software, or some particular global settings you configured earlier. Either way, VisualGDB requires the VISUALGDB_DIR environment variable to point to its installation directory, which is normally configured automatically by the VisualGDB’s installer, but can also be set manually via regular Windows settings. If something is resetting that variable, you would need to find out what program is causing it, and find a way to disable it.

    in reply to: FreeRTOS debug with STMCubeMX projects #35551
    support
    Keymaster

    Hi,

    Normally, it should work just fine. This specific error means that the debugging symbols in the executable do not contain the xQUEUE or Queue_t type, so VisualGDB does not have sufficient information to decode the state of the internal FreeRTOS structures.

    Please double-check that the debugged program is actually using FreeRTOS and has valid debugging symbols. Queue_t should normally be defined in queue.c. You can also double-check that the symbols reference it by checking sizeof(Queue_t) in the regular Watch window.

    in reply to: Suggestion: Reveal In Explorer #35548
    support
    Keymaster

    Hi,

    You can actually easily do it via the editor tab context menu. Simply double-click on the file in question in Solution Explorer so that VS opens it in another tab, right-click on the tab header and select “Open Containing Folder”. It will open the file location in Explorer, and will pre-select the actual file.

    in reply to: VS 2022 Dark Theme Issue #35544
    support
    Keymaster

    Hi,

    No problem. Both ways to edit settings are supported, there was just a glitch with applying the dark theme when opening it inside the VS file editor.

    We have fixed it in this build: VisualGDB-6.0.101.5173.msi

    in reply to: Memory Exhausted Error #35543
    support
    Keymaster

    Hi,

    OK, we rechecked everything again. If you check the “existing toolchain.cmake” checkbox in the wizard, but do not specify a file, VisualGDB will ask whether you want to proceed without using a toolchain file at all (equivalent to setting DisableToolchainFile  to true). However, the VisualGDB Project Projecties window indeed did not allow enabling this mode.

    We have updated it to allow selecting any of the 3 options (existing file, generated file, no file) in this build: VisualGDB-6.0.101.5173.msi

    We will also look into decoupling generated toolchain files from the reference to the VisualGDB’s embedded project framework (that adds commands like find_bsp() and also changes some build flags).

    in reply to: FreeBSD and llvm/clang/lldb #35542
    support
    Keymaster

    Hi,

    Sorry for the glitch with the forum. We have recently updated the WordPress/bbPress used for the forum, and it turns out that it silently flags posts with more than 1 hyperlink as “pending review”, but doesn’t actually show them anywhere unless you use a special viewing mode.

    We have fixed the issue now, pending posts are now properly wired into our internal ticket system.

    Regarding the problems with the toolchain, the toolchain testing logic is designed to catch common errors with regular toolchains (e.g. trying the x64 toolchain with an ARM target) and will produce false positives with less commonly used setups. You can simply ignore the errors and should still be able to setup a project. Also, simply ignore the gdbserver configuration as well.

    The last error looks like the recently added support for the CXSTM8 toolchain broke MSBuild profile generation for LLVM. We have fixed it in this build: VisualGDB-6.0.101.5158.msi. If it still doesn’t work, you can try creating a project with CMake instead of MSBuild. It relies on CMake to handle the low-level configuration instead of trying to handle everything on VisualGDB side (it can still trigger issues within CMake itself though).

    With LLDB, VisualGDB relies on the lldb-mi tool that allows running lldb with the gdb-mi interface. As of 2024, the tool is unmaintained and not included in the normal llvm repository. VisualGDB includes an older version of lldb-mi based on lldb 6.0, however if it doesn’t work with the FreeBSD lldb server, you would need to either build a newer version yourself from sources, or simply use the gdb/gdbserver setup similar to Linux.

     

     

Viewing 15 posts - 1 through 15 (of 7,541 total)