support

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 7,535 total)
  • Author
    Posts
  • in reply to: Memory Exhausted Error #35499
    support
    Keymaster

    Hi,

    Then VisualGDB should not change any flags unless you have overridden it somewhere.

    You can export the exact build/configuration commands used by VisualGDB as described here and compare them against the manual build commands.

    in reply to: Memory Exhausted Error #35496
    support
    Keymaster

    Hi,

    If this is an nRFConnect project, you can reset optimization options via the first page of VisualGDB Project Properties.

    in reply to: PIC18F support? #35491
    support
    Keymaster

    Hi,

    Sorry, these are legacy devices with not that many active users, so we do not support them.

    You can probably get it working by figuring out the correct parameters for the underlying command-line tools and manually configuring VisualGDB to use them, but it would be something for you to figure out.

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

    Hi,

    The easiest way to get it working would be to download our Raspberry Pi toolchain and use its toolchain.xml file as a template. The format is pretty self-descriptive: you specify a unique ID, name, paths to various tools, and VisualGDB will run them when building the projects. Fields like tool versions are optional and are used to show meaningful summary in the toolchain selector. Fields related to SD card and target version checks can be removed.

    Once you have edited toolchain.xml, you can place it into the FreeBSD toolchain directory, click “locate a new toolchain” in the VisualGDB’s toolchain selector, and point it to the new toolchain.xml file. If you edit the file VisualGDB imported the toolchain, you can open and immediately close Tools->VisualGDB->Manage VisualGDB Packages to reload all changes.

    As for LLDB, VisualGDB can automatically detect gdb/lldb based on its reply to “info version”, so you can simply put your lldb executable in the toolchain’s bin folder and add the following line to toolchain.xml:

    <GDB>lldb.exe</GDB>

    This will override the default name of gdb derived from the <Prefix> field.

    If the new lldb binary still doesn’t work, you can try checking the Debug->Windows->GDB Session window in the Raw GDB Output mode. It shows all commands executed by VisualGDB, and their replies. If you can point out specific commands that are not being issued as expected (e.g. require some special flags), we should be able to adjust VisualGDB to accordingly as long as you can confirm that running the updated command manually works as expected.

    in reply to: Memory Exhausted Error #35488
    support
    Keymaster

    Hi,

    We merely repackage the toolchain that comes from ARM. If you would like us to do a custom build for you, feel free to contact our sales for a quote.

    in reply to: Memory Exhausted Error #35486
    support
    Keymaster

    Hi,

    The linker itself is a 32-bit executable, so it has a 2GB memory limit rather than 64GB.

    VisualGDB itself does not do anything special that would affect the memory usage by the linker. It merely launches Ninja, that in turn launches GCC/ld. If it works from developer power shell and doesn’t work with VisualGDB, you can troubleshoot it as follows:

    1. Run both builds in verbose mode to obtain the exact linker command lines.
    2. Try manually running both command lines from a separate command prompt.
    3. If you can reproduce the behavior (one command line triggers the problem, while the other one doesn’t), try comparing the command lines and editing them to gradually remove the differences, until you narrow down a specific option that triggers the problem.

     

    in reply to: Visual GDB Test package install #35476
    support
    Keymaster

    Hi,

    It looks like your antivirus hooks the Visual Studio process (possibly, to scan the downloaded file), and than encounters some kind of a internal error. The easiest way around it would be to add Visual Studio to the exception list.

    The manual installation should normally work. If it doesn’t, please share the exact URL of the file you are trying to install, and we will recheck it.

    in reply to: Export data as CSV (Live Watch Plot) #35473
    support
    Keymaster

    Hi,

    Thanks for reporting this. VisualGDB was indeed using a fixed “,” separator when generating CSV files.

    We have updated it to use the same system-level setting that Excel does, and also added a manual override option (Tools->Options->VisualGDB->General->Files->CSV file separator).

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

     

    support
    Keymaster

    Hi,

    If the linker did not generate the ELF file, there isn’t anything for VisualGDB to analyze. You can try patching the linker script to temporarily increase the RAM size so that the linker won’t fail, and then use Embedded Memory Explorer.

    in reply to: Linker cannot find path #35469
    support
    Keymaster

    Hi,

    It looks like you have specified invalid settings at some point. Unfortunately, it’s impossible to suggest anything meaningful without knowing what exact settings you have used.

    Please try creating a new project from scratch, ensure that it builds, and then try changing one setting at a time until the problem triggers. Once you can reproduce it, please share a screenshot of the exact setting you changed and we will try to suggest a workaround.

    support
    Keymaster

    Hi,

    Normally the first header file should just include the second one. As long as both header files have a #pragma once, it should work just fine.

    Another option would be to explicitly open the header file in a context of a .c/.cpp file that includes both of them in the correct order. You can do it via the navigation bar in the new VisualGDB 6.0.

    in reply to: nRF52840 – Failed to locate programming port #35452
    support
    Keymaster

    Hi,

    The actual FLASH programming logic is defined by the underlying SDK or Arduino platform. VisualGDB merely runs the programming command line defined by it.

    If you can program FLASH from some other IDE or via command line without pressing the button, it could be a VisualGDB bug (e.g. some command-line option gets lost). If not, it’s a limitation of the platform you are using.

    in reply to: nRF52840 – Failed to locate programming port #35445
    support
    Keymaster

    Hi,

    If you suspect this is a bug of VisualGDB, you can try uninstalling the latest version and installing an older one here. If this fixes the problem, please let us know the version that works vs. the version that doesn’t.

    If this doesn’t help, please try creating a new project from scratch and check if it works. If yes, you can try comparing the project files between the 2 projects. One of the settings that is different is likely causing the issue.

    support
    Keymaster

    According to our records, we have replied to your inquiry with the details on the academic license purchase.

    in reply to: Updating existing projects to ESP-IDF 5.2 #35434
    support
    Keymaster

    Hi,

    This issue is different from the other thread (hence, we moved it to a separate one) and comes down to a bug in the ESP-IDF selector. After updating the toolchain and refusing to download the old (incompatible) ESP-IDF, VisualGDB should normally have shown the old ESP-IDF version in Project Properties, letting you select the new one, but it was instead showing just the new one, despite still referencing the old version.

    We have fixed the issue in this build: VisualGDB-6.0.101.5152.msi. It actually includes 3 fixes:

    • Suggests updating ESP-IDF reference to the one shipped with the new toolchain
    • If refused, allows switching it manually via GUI
    • When changed, clears the temporary files next time the project is loaded or built
Viewing 15 posts - 16 through 30 (of 7,535 total)