support

Forum Replies Created

Viewing 15 posts - 4,726 through 4,740 (of 7,885 total)
  • Author
    Posts
  • in reply to: Multiple definition of _isatty #13370
    support
    Keymaster

    Hi,

    If you would like to use fast semihosting, you would need to remove other implementations of the low-level I/O functions from the project. The default implementations from the toolchain shipped with VisualGDB are marked as weak, so they will be automatically replaced by the fast semihosting ones (when enabled), however if your project provides different implementations (in syscalls.c?) please try excluding them from the project (if you are using the GNU ARM toolchain, please disable regular semihosting on the first page of VisualGDB Project Properties).

    in reply to: No executable file specified error #13369
    support
    Keymaster

    Hi,

    Yes, it could have been something caused by the project path. If you encounter this again, please try switching GDB Session to “All GDB interaction” and check the gdb messages about loading symbols.

    in reply to: No executable file specified error #13366
    support
    Keymaster

    Hi,

    Looks like the project has not been built. Please ensure you build it before starting debugging.

    • This reply was modified 8 years ago by support.
    in reply to: Stepping over/through std::shared_ptr #13361
    support
    Keymaster

    Hi,

    No problem, we will explain how the “Step into specific” functionality works.

    First of all, VisualGDB doesn’t support “blacklisting” functions for automatic stepping through them yet (we will try to add this in one of the next releases), however it supports the “Step into specific” command as shown below:

    Normally it should work out-of-the-box, however if it doesn’t, you can fine-tune it by editing the StepIntoSpecific.xml file in the VisualGDB directory. The Step Into Specific feature works by disassembling the instructions corresponding to the active line in code and searching for the patterns defined in StepIntoSpecific.xml. Once a pattern is found, the corresponding label will be shown in the “Step into specific” menu and once you select it, VisualGDB will set a breakpoint at that instruction and then do a single “step in” step.

    If it doesn’t work as expected and you are not sure how to adjust it, please let us know the details (i.e. your code and the output from the GDB Session window showing VisualGDB disassembling the current line) and we will help you get it to work.

    Attachments:
    You must be logged in to view attached files.
    in reply to: ESP8266_Thing: Failed to connect to the gdb stub #13358
    support
    Keymaster

    Hi,

    This could be happening due to an invalid FLASH mode/frequency. Please try experimenting with different FLASH modes (DIO/QIO) and setting the frequency to the minimum value.

    in reply to: Stepping over/through std::shared_ptr #13352
    support
    Keymaster

    Hi,

    Sorry, this is a known issue (priority conflict between natvis engine and the C# visualizer API). We will try to address this is one of the next maintenance releases. As a workaround, please consider creating a basic visualizer using the C# API as described here: https://visualgdb.com/w/tutorials/visualizergettingstarted/

    in reply to: MBED SD Card File system not compiling on VisualGDB #13351
    support
    Keymaster

    Hi,

    You can check the mbed version used by VisualGDB via Tools->VisualGDB->Manage VisualGDB Packages. The latest version shipped with VisualGDB is 5.6.3, so the code in this example should normally work.

    If you are getting strange mbed-related errors, you could also try importing the project directly from mbed-cli as shown in this tutorial.

    in reply to: Autocomplete not working #13347
    support
    Keymaster

    Hi,

    This could be caused by several different issues. Please check if the project can be built successfully. If not, please try creating a new project via VisualGDB Project Wizard and it will automatically get all the dependencies. If the build succeeds, but IntelliSense doesn’t work, please attach a screenshot of the entire Visual Studio window here and we can check for common problems.

    support
    Keymaster

    Hi,

    Thanks, looks like VisualGDB was handling a certain type of hard links in tar archives incorrectly. We have fixed it in the following build: http://sysprogs.com/files/tmp/VisualGDB-5.3.18.1978.msi

    Please note that you would need to reload the IntelliSense directories via VisualGDB Project Properties.

     

    support
    Keymaster

    Hi,

    Different Linux distros may have slightly different include directory layouts, so please double-check that the files actually exist in the same directory on the other machine (please also double-check that you are looking at a correct folder on the Windows side – the dir.txt file should contain the remote directory name).

    If you can confirm this, please try reloading all include directories via VisualGDB Project Properties. If this doesn’t resolve the problem either, please check that you can access the header files from your current user account (incorrectly set permissions would prevent VisualGDB from synchronizing those files properly).

    in reply to: Highlighting: typedef vs. using #13336
    support
    Keymaster

    Hi,

    No problem, thanks for renewing. If you encounter any further problems, feel free to contact us again.

    in reply to: Highlighting: typedef vs. using #13333
    support
    Keymaster

    Hi,

    No problem, please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.3.18.1977.msi

    in reply to: Different JTAG/SWD programmers in shared project #13332
    support
    Keymaster

    Hi,

    No problem, we have added this as an experimental feature to the following build: http://sysprogs.com/files/tmp/VisualGDB-5.3.18.1977.msi

    To enable it, please create a file called <name of .vgdbsettings file>.vgdbsettings.<user name>.user with the following contents:

    <?xml version="1.0"?>
    <VisualGDBUserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <UserDefinedVariableValues />
      <DebugPreferences xsi:type="com.visualgdb.debug.embedded.preferences">
        <OverriddenSettings>
            <DebugMethod>
                <!-- Contents of the DebugMethod tag from the .vgdbsettings file -->
            </DebugMethod>
        </OverriddenSettings>
      </DebugPreferences>
    </VisualGDBUserPreferences>

    If you are not sure about the name of the file, try adding a live variable or a visual watch to your project and VisualGDB will automatically create the .user file.

    The <DebugMethod> value from the .user file will now override the settings from the .vgdbsettings file (although the GUI may not edit the settings properly).

    in reply to: SOURCEFILES list in makefile: multiline vs. singleline #13327
    support
    Keymaster

    Hi,

    You can set this via Tools->Options->VisualGDB->General->Files->Max. items per Makefile line.

    support
    Keymaster

    Hi,

    Please refer to our bootloader tutorial for a detailed example.

Viewing 15 posts - 4,726 through 4,740 (of 7,885 total)