support

Forum Replies Created

Viewing 15 posts - 2,221 through 2,235 (of 7,878 total)
  • Author
    Posts
  • in reply to: Remote debugging in the time of covid-19 #27940
    support
    Keymaster

    Hi,

    Sorry about that, the new build of the OpenOCD package requires an updated VisualGDB debug engine. Please try this build: VisualGDB-5.5.5.3577.msi.

    If it still doesn’t work, please check if the Debug->Windows->Live Watch->Globals view works (and updates the variables properly).

    in reply to: Additional Include Directories for ASM #27939
    support
    Keymaster

    Hi,

    VisualGDB would normally apply the regular C/C++ include directories and preprocessor macros to assembly files as well. If you want to add the include directory only to assembly files, you can instead add -I<directory> to Configuration Properties -> C/C++ -> Assembler -> Additional Assembly Flags.

    If it doesn’t work, please let us know what exactly you added in the settings and whether any similar directories are listed in the VisualGDB\Debug\<assembly file>.gcc.rsp file (that should contain all command-line flags passed to the assembler).

    in reply to: Zynq-7000 support #27933
    support
    Keymaster

    Hi,

    No problem. You can import an existing Zynq SDK into VisualGDB by following this tutorial. Once you create a basic project, you can export it into a project template for easier reuse.

    We can also convert your hardware-specific BSP generated by the Zynq tools into a VisualGDB-level BSP (similar to the STM32 BSP and others) as a part of our paid BSP service. Feel free to contact our sales if you would like to get a quote on that.

    You can run various scripts (and do all kinds of other custom actions) before/after build, and also at various stages of the debug process. See the Custom Build Steps and Custom Debug Steps pages of VisualGDB Project Properties for a detailed list of customization options.

    Let us know if you need any further details and we will be happy to help.

    in reply to: Unable to capture with ST NUCLEO-L476 #27930
    support
    Keymaster

    Hi,

    This should not be related to the protocol analyzers or specific I/O. It looks like the board never responds to the asynchronous I/O request. It could happen if the board had a pre-release version of the chip that would behave differently from the final one, or if the power/wiring was unreliable.

    Does that specific board behave unreliably when trying any other firmware (e.g. STM32 samples)? Does Analyzer2Go also hang when trying to use the record mode with no input signals at all?

    in reply to: Remote debugging in the time of covid-19 #27929
    support
    Keymaster

    Hi,

    The fast semihosting and using the custom FLASH drivers requires a secondary telnet connection to OpenOCD that runs in parallel with the regular GDB connection.

    Normally, VisualGDB would automatically configure OpenOCD to open a telnet port, and would then connect to it. However, for remote setups this won’t work. As a workaround, please try this build: https://sysprogs.com/files/tmp/OpenOCDPackage2.dll

    Then locate the PreferredTelnetPort element in the .vgdbsettings file and set it to a non-zero value (e.g. 4444). Add the following element next to it:

    <TelnetHostName>[IP address of the machine actually running OpenOCD]</TelnetHostName>

    Make sure that port is open in the firewall on the remote machine, so that VisualGDB can connect to it (you can recheck it with the actual telnet tool).

    in reply to: When File name is changed, debugging no longer works #27920
    support
    Keymaster

    Thanks for clarifying this. Normally, just rebuilding the project should have helped. Most likely some dependencies between different components were not handled correctly, so the executable still ended up with the old debugging symbols.

    Please consider reading our symbol troubleshooting tutorial. It explains how the debug symbols work and how to check their status.

    support
    Keymaster

    Hi,

    No problem. Please try obtaining and sharing a call stack of the hanging Visual Studio process as shown here: https://visualgdb.com/support/callstack

    in reply to: When File name is changed, debugging no longer works #27917
    support
    Keymaster

    Hi,

    This is to be expected. If you just rename the file, the debugging symbols will store the old file path, preventing the breakpoints from working. Please try building/rebuilding the project after you rename the file.

    in reply to: Error when saving cpp file #27916
    support
    Keymaster

    No problem, we should be able to fix it. However, if the issue only triggers with a few select files, we would need further information from you.

    Please try creating a new embedded project from scratch. Then the .clang-format file in its directory and replace the contents of the main file with the minimal file contents that trigger the error when either saving or reformatting the document (via Edit->Format Document). Then please attach the entire repro project and we should be able to fix this promptly. You can alternatively send the repro project via our support form.

    in reply to: using Little VGL in a VisualGDB project #27915
    support
    Keymaster

    Hi,

    Unfortunately, help on resolving issues with specific projects is outside of our support scope. However, we have a very detailed tutorial explaining the ESP-IDF components: https://visualgdb.com/tutorials/esp32/esp-idf/components/. We would advise following it so that you could get familiar with the ESP-IDF component semantics.

    support
    Keymaster

    Hi,

    Sorry, the regular VC++ projects follow the Visual Studio’s separation between source and header files.

    If you would like to avoid it, please try using the Advanced CMake Project Subsystem instead. It allows a fine-grain control over grouping and filtering of sources in Solution Explorer. Also CMake-based projects can be built outside Visual Studio/VisualGDB, so you won’t lose the ability to build your project on a different machine, or on a build server.

    in reply to: Error when saving cpp file #27903
    support
    Keymaster

    Strange, the “value doesn’t fall in the expected range” looks like a .Net exception message, so you should normally still get a .Net assembly that triggers the exception. Can you confirm that the error message still looks the same after disabling the plugin? Does the outer VS instance show any exceptions in the “Output” window?

    Please also try disabling the Clang IntelliSense as shown here and check if it solves the problem. If yes, please try enabling it back and then reformat the entire document (Edit->Advanced->Format Document). Does this trigger the problem?

    in reply to: Compile *.c files as C++ (Using IAR) #27902
    support
    Keymaster

    Hi,

    No problem, please try this build: VisualGDB-5.5.5.3574.msi

    We have added an option under VS Project Properties -> C/C++ -> Advanced that allows explicitly specifying the input language for the source files instead of having it auto-detected from the extension.

    in reply to: Best practices for including header and source files #27898
    support
    Keymaster

    Hi,

    This is really a generic C++ question and not something specific to VisualGDB, so the amount of help we can provide here is very limited. If you are new to C/C++, we would advise looking up and following a few beginner’s tutorials that explain source and header files. It could save you immense time compared to trying to guess the correct configuration.

    You can also find a few best practice articles published by Microsoft by searching for “Visual Studio add cpp file”. As VisualGDB embedded projects inherit the Visual Studio’s project system, everything described in those articles will apply to VisualGDB projects as well.

    Regarding your second question, neither Visual Studio nor VisualGDB would automatically build all files from a specific folder, as it could normally cause confusion. Explicitly adding the source files to Solution Explorer (and using virtual folders to organize them) is the way to go for C/C++ projects.

    in reply to: Error when saving cpp file #27897
    support
    Keymaster

    Yes, this looks like an issue in the VSE_FormatDocumentOnSave.dll extension and not in VisualGDB. Please consider disabling that extension, or contacting its authors for troubleshooting advice.

Viewing 15 posts - 2,221 through 2,235 (of 7,878 total)