support

Forum Replies Created

Viewing 15 posts - 106 through 120 (of 7,659 total)
  • Author
    Posts
  • support
    Keymaster

    Hi,

    If the components registry is working on WSL, but not on regular Windows, it could be a bug in ESP-IDF. Using ESP-IDF via VisualGDB will not automatically fix it. Please make sure you can build it via Windows command line/batch file before trying to fix it on VisualGDB’s end.

    If changing something via VisualGDB GUI crashes Visual Studio, please consider obtaining a call stack of the crash as shown here: https://visualgdb.com/support/callstack

    in reply to: Adding NetXDuo to AzureRTOS for STM32 #35679
    support
    Keymaster

    Hi,

    Thanks for sharing this!

    support
    Keymaster

    Hi,

    If you would like VisualGDB to pass an environment variable to CMake, you would need to set it via VisualGDB Project Properties -> CMake Project -> CMake Command -> Environment.

    You can then double-check it by dumping the command used by VisualGDB to a batch file as shown here. The file should contain all environment variables set by VisualGDB and running it should produce the same result as building the project with VisualGDB.

    in reply to: How to make GDB ignore SIG34 #35675
    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

    support
    Keymaster

    Thanks for renewing your license. The J:\ArduinoProject1\Output\ESP32_Wrover_Module\Debug\sketch\test.cpp path is likely derived by VisualGDB from the default base directory (J:\ArduinoProject1\Output\ESP32_Wrover_Module\Debug\sketch) and the relative part (test.cpp).

    You can try setting the Default Windows Directories -> Relative Paths option on the Path Mapping page to J:\ArduinoProject1\sketches and see if it fixes the path computed by VisualGDB.

    Another workaround would be to enable VisualGDB Project Properties -> Advanced GDB Settings -> Common Workarounds -> Use file names only when setting breakpoints. This will shorten the paths used in -break-insert to just file name (e.g. -break-insert -f test.cpp:7), working around most path mapping glitches.

    in reply to: Autocomplete only on Tab press #35661
    support
    Keymaster

    Hi,

    Thanks, this is indeed a bug in the completion system, although it looks like a very rare scenario.

    We have added special handling for spaces in preprocessor directives to this build: VisualGDB-6.0.103.5192.msi

    If you encounter other cases where spaces break completion logic, feel free to share the repro steps and we will look into it.

     

    Attachments:
    You must be logged in to view attached files.
    in reply to: Cmake error incorect git version #35657
    support
    Keymaster

    Hi,

    According to the screenshots, you are referencing a 3rd-party library that is raising the error.

    Please try creating a similar project manually outside VisualGDB using the same toolchain referencing the same library.

    If it works without errors, please share the screenshots of the manual process (including the screenshots of all files you edited), and we will help you configure VisualGDB to match the manually configured project.

    in reply to: Cmake error incorect git version #35650
    support
    Keymaster

    @bflannery, thanks for the link


    @Nakame
    , If you believe this is a VisualGDB problem, please make sure you can reproduce it on a clean project created from scratch. If it persists, please share complete repro steps that we could follow on our side to reproduce the issue. Please make sure the steps include the screenshots of all screens where you change any settings  (e.g. all wizard pages). You can read more about the scope of VisualGDB support here: https://visualgdb.com/support/scope/

    in reply to: VisualGDB Project Properties missing options #35649
    support
    Keymaster

    Hi,

    If you are using the Embedded edition, it will automatically hide pages that are only included in the Custom edition. You can find a list of VisualGDB editions and features included in each one here: https://visualgdb.com/buy/

    If you would like to upgrade your existing key to the Custom edition, you can do it via this page: https://sysprogs.com/splm/mykey

    in reply to: Cmake error incorect git version #35641
    support
    Keymaster

    Hi,

    This looks like an issue with CMake and not VisualGDB. Please consider asking in the CMake community instead.

    in reply to: Missing locale setting #35639
    support
    Keymaster

    Hi,

    We wouldn’t expect any specific output, since we don’t use Strawberry Perl. It’s generally up to you to figure out what LANG value will make it happy; all we can do is show how to override it on the VisualGDB side.

    You can double-check that VisualGDB passes the correct value to ESP-IDF by dumping the command-line used by VisualGDB (with the environment) into a batch file as shown here. The file will contain all environment variables including LANG and running it manually should produce the same results as via VisualGDB. You can then experiment with different values by editing the file, and once you find the value that works, enter it via VisualGDB Project Properties.

    in reply to: Missing locale setting #35636
    support
    Keymaster

    Hi,

    Thanks for the screenshots. For this project type you can override the LANG variable via VisualGDB Project Properties as shown below:

    Attachments:
    You must be logged in to view attached files.
    in reply to: Missing locale setting #35631
    support
    Keymaster

    Hi,

    The exact setting depends on how your project is setup. If you would like us to point out a specific setting, please make sure you can reproduce the problem on a new project created from scratch, and than share the screenshots showing how the project was created (every step of the wizard and every other window where you changed any settings).

    in reply to: Missing locale setting #35629
    support
    Keymaster

    Hi,

    VisualGDB forces the locale to be en_US.UTF-8 as otherwise some build tools would show localized error messages, confusing the message parsing logic (e.g. trying to understand the base directory for the relative paths in subsequent messages).

    You can try overriding the environment of the CMake/Make commands via VisualGDB Project Properties -> Build Settings. It should override the default value.

    in reply to: Autocomplete only on Tab press #35623
    support
    Keymaster

    Hi,

    VisualGDB’s code completion has 2 levels of confidence:

    • If the string you typed exactly matches the beginning of a suggestion, (e.g. you typed “print” and it found “printf”), typing any non-identifier character (space, opening bracket, comma, etc) will trigger a completion and will insert the character you typed.
    • If the string loosely matches the suggestion (e.g. you typed “ncmp” and if found “wcsncmp” or you typed “pascope” and it found “pthread_attr_getscope), it is considered a low-confidence match, so it will only get completed if you press tab. Otherwise it will insert what you typed as if there was no completion popup.

    Normally, this should avoid inserting the wrong suggestions, while still giving you the possibility to find functions or variables if you don’t know the exact name. If you keep getting incorrect completions, feel free to share more details with an exact example of what you are typing and what VisualGDB suggests, and we will look further into it.

Viewing 15 posts - 106 through 120 (of 7,659 total)