support

Forum Replies Created

Viewing 15 posts - 1,111 through 1,125 (of 7,859 total)
  • Author
    Posts
  • in reply to: Visual GDB Esp32 Flash Button Doesn't Work #32029
    support
    Keymaster

    Good to know it works. Please try comparing the old project against the new project, and adjusting it, eliminating the differences one-by-one. Once you can pinpoint a specific difference the is causing the problem, feel free to let us know and we can point the VisualGDB setting that is affecting it.

    in reply to: Formatting to a .clang-format file that requires Clang10 #32025
    support
    Keymaster

    Due to the way Visual Studio handles programming language extensions, using Clang IntelliSense automatically redirects all IntelliSense-related functionality to VisualGDB, including the formatting. There is no easy way to call the formatting logic from the regular VC++ IntelliSense while still using the Clang one.

    Regarding the currently opened file, we can gladly add a new variable (e.g. $(ActiveSourcePath)) that will resolve to the currently open source file when used with custom shortcuts, if it helps you configure the formatting workaround.

    in reply to: VisualGdb can't detect toolchain. #32024
    support
    Keymaster

    Hi,

    Thanks, we have confirmed that toolchains manually installed for all users (as opposed to the current user) won’t automatically appear in the VS2022 toolchain selector until you manually use the “Select a third-party toolchain” link. This is a side effect of VS2022 being a 64-bit process. Toolchains installed directly via the toolchain selector should still work.

    We have fixed the issue on our side and will include the hotfix in the upcoming VisualGDB 5.6R3. As a workaround until then, please consider installing the toolchains for the current user only, or locating them manually via the dropdown in the toolchain selector.

    in reply to: Visual GDB Esp32 Flash Button Doesn't Work #32023
    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.
    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.

    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.

    in reply to: strange undefined symbols #32020
    support
    Keymaster

    You can always double-check the exact command lines used for the build by enabling verbose build (CMake) or inspecting the .rsp files (MSBuild). If different builds produce different results, there must be a difference in the compiler/linker command lines (or source file contents), and locating it should help understand what is going on.

    Also, if you change global settings, such as the compiler type, please make sure you do a full rebuild to ensure there are no leftovers from the previous build.

    in reply to: VisualGdb can't detect toolchain. #32013
    support
    Keymaster

    Hi,

    This version should work just fine. Please try deleting the toolchain, installing it manually from https://gnutoolchains.com/esp32/ and restarting Visual Studio. This should get it detected properly.

    in reply to: VisualGdb can't detect toolchain. #32009
    support
    Keymaster

    Hi,

    Please share a screenshot of the Help->About VisualGDB window so that we could see what is going on.

    in reply to: ESP32 C3 live watch #32000
    support
    Keymaster

    We have an update on the ESP32-C3 Live Watch. Espressif has pointed out a workaround that allows reading the ESP32-C3 memory without stopping the CPU, and we have updated our ESP32 debug package to handle it correctly. We have published a detailed tutorial demonstrating how to use it: https://visualgdb.com/tutorials/esp32/livewatch/

    in reply to: Formatting to a .clang-format file that requires Clang10 #31999
    support
    Keymaster

    Hi,

    VisualGDB indeed relies on a rather deep integration with clang-format in order to support various advanced features (e.g. computing smart indent for new lines based on clang-format rules). So, instead of using an external clang-format executable, our IntelliSense engine includes a copy of the clang-format logic.

    We are planning to update to the latest Clang later this year, although we cannot give a specific timeframe yet, as it usually requires a lot of non-trivial changes and testing on our side.

    As a workaround, you can indeed prevent VisualGDB from formatting the code automatically via Tools->Options->Text Editor->C/C++(VisualGDB)->Formatting->Automatic Formatting->Auto-format when <…> , and then launch the regular clang-format as a custom shortcut (configurable via VisualGDB Project Properties) or as a git trigger.

    The “Automatically configure clang-format from VS settings” setting currently only covers the basics (tabs/spaces, simple indentation rules). Advanced formatting settings can be configured via our graphical clang-format file editor by simply opening the .clang-format file, although it will only work for settings present in clang-format 6.0.

    in reply to: can't effect on file explorer #31997
    support
    Keymaster

    Hi,

    Please share a screenshot of your Help->About VisualGDB window so that we could see what is going on.

    in reply to: strange undefined symbols #31992
    support
    Keymaster

    Sorry, we are not able to review specific projects for errors as a part of our regular technical support. Our best advice would be to follow the tutorial exactly as shown, make sure it works, and then use it as a comparison point against the broken project.

    in reply to: ESP32 Error Cahnging ESP/IDF Checkout #31988
    support
    Keymaster

    Hi,

    Sorry about that, this indeed looks like the earlier version of the toolchain got cached incorrectly. Adding the missing <Checkouts> tag will indeed fully solve the problem. We have also updated the cache on our side, so that other users will get the correct toolchain with the valid XML file.

    in reply to: Live watch #31984
    support
    Keymaster

    Hi,

    Thanks for reporting this. We have updated Live Watch to handle bit fields correctly. Please try this build: VisualGDB-5.6.102.4519.msi

    We have also added an option to only display the variables defined in the current source file, so you can find the relevant variables faster.

    in reply to: can't import keil to visualgdb sucessfully #31982
    support
    Keymaster

    Hi,

    This is to be expected. Porting a project to a different compiler will likely require adjusting it to account for differences between the compilers. As soon as you adjust the source code fixing the build errors, VisualGDB will let you build and debug the project as usual.

    in reply to: Display header files #31969
    support
    Keymaster

    Hi,

    If the header files are missing in Solution Explorer, they were likely not directly referenced by the original IAR project either (it’s not necessary for build). You can add them to Solution Explorer via the “Add->Existing File” menu command similar to the regular Visual Studio projects.

Viewing 15 posts - 1,111 through 1,125 (of 7,859 total)