support

Forum Replies Created

Viewing 15 posts - 6,616 through 6,630 (of 7,728 total)
  • Author
    Posts
  • in reply to: formatting with visualGDB 5 is REALLY crap! (sorry..) #7157
    support
    Keymaster

    Hi,

    Thanks, that explains it. The Clang IntelliSense updates the bracket indentation when it sees both the opening and the closing bracket. By default when you type ‘{‘, the IntelliSense automatically inserts the ‘}’ and formats both of them according to your settings. Looks like you have disabled this feature via Tools->Options->Text Editor->C/C++ (VisualGDB)->Advanced->Typing Assist->Auto-match brackets.

    We recommend enabling it back to get better formatting. We have also added a fix to the upcoming v5.1 version that will automatically un-indent the braces when bracket matching is disabled. Let us know if you want to try a pre-release build with this fix.

    in reply to: Import projects/bsp's #7152
    support
    Keymaster

    Hi All,

    We have added support for Embedded Quick Debug to the v5.1 branch of VisualGDB. You can now quickly debug arbitrary embedded code without creating a project for it.
    ​You can try a pre-release build here: http://sysprogs.com/files/tmp/VisualGDB-5.1.0.579.msi

    Note that it will upgrade the Quick Debug presets you open to a new format that won’t work with v5.0, so please make a backup of the %LOCALAPPDATA%\VisualGDB\QuickDebugPresets folder before trying it out.

    in reply to: formatting with visualGDB 5 is REALLY crap! (sorry..) #7151
    support
    Keymaster

    Hi,

    The brace formatting is controlled by a Visual Studio setting under Tools->Options->Text Editor->C/C++->Formatting->Indentation->Indent Braces:

    Please double-check that it’s not enabled for you. If it is disabled, but VisualGDB still formats the code incorrectly, please let us know which version of Visual Studio you are using so that we could suggest further diagnostic steps.

    in reply to: Clang Intellisense Errors #7136
    support
    Keymaster

    Hi,

    We recently fixed the global “Enable Clang IntelliSense by default” so that it applies to the running session as well.

    Perhaps we are talking about different windows. Could you attach a screenshot of the window that pops up for you? We should be able to advise you how to disable it then.

    in reply to: nrf51 hardware registers #7135
    support
    Keymaster

    OK, then we will update the parser so that the next version of our nRF51 package contains the correct definitions. Please also feel free to attach your patched XML file here so that everybody could download it before we release the next version.

    in reply to: Moving a VisualGDB license to another computer/VM #7134
    support
    Keymaster

    Hi,

    We don’t do that because in many cases the machine with the previous VisualGDB installation is inaccessible. But we do respond quickly if you request an activation reset via our support channels.

    support
    Keymaster

    Hi,

    Please add the include paths via VisualGDB Project Properties -> Makefile Settings -> Include Directories.

    This will configure both IntelliSense and your compiler correctly.

    in reply to: Replace Toolchain #7132
    support
    Keymaster

    Hi,

    Normally when you change something on the Makefile Settings page and click “Apply” VisualGDB should retest the settings and update IntelliSense. Did this not happen when you changed the toolchain? Does it retest correctly when you change, let’s say, CFLAGS?

    We’ll add an option to select the language directly in the wizard in the next version of VisualGDB. We will also see if we can make the Program Output to be the default output after debugging.

    in reply to: Error while loading shared libraries #7131
    support
    Keymaster

    Hi,

    Could you try replacing the contents of the main source file with the following:

    #include <stdio.h>
    #include <stdlib.h>
    
    int main()
    {
        printf(">%s<\n", getenv("LD_LIBRARY_PATH"));
    }

    Does it show the correct LD_LIBRARY_PATH when you debug it from VisualGDB?

    in reply to: C++11 Intellisense in Visual Studio 2015 #7128
    support
    Keymaster

    Hi,

    Yes, we have created the Clang-based IntelliSense because the VS IntelliSense does not work well with many GCC-specific extensions including the C++11 ones.

    You can also enable the Clang IntelliSense globally via Tools->Options->VisualGDB. Please provide us an example of the code formatting problem in the other thread so that we could release a hotfix or suggest a workaround.

    in reply to: formatting with visualGDB 5 is REALLY crap! (sorry..) #7127
    support
    Keymaster

    Hi,

    The Clang IntelliSense includes formatting because switching the IntelliSense engine actually also disables the original formatting. Normally VisualGDB should import your VS settings and format your code accordingly. If it does not happen, we will certainly fix this. Could you give an example of a code formatted with our IntelliSense, with original IntelliSense and a screenshot of your VS indentation settings? This should allow us reproduce the problem and fix it.

    in reply to: Crystax 10 and VisualGDB #7112
    support
    Keymaster

    Hi,

    Please try changing the gdbserver port in VisualGDB Project Properties. Looks like the original port is already used by something else.

    in reply to: Error while loading shared libraries #7109
    support
    Keymaster

    Hi,

    The compiler uses a different path from linking. In fact, if you have specified relative paths to the libraries and not used the -L<directory> -l<library name>, the linker may hardcode the relative path in the executable leading to strange errors. We could help you fix this if you could share your linker command line, the exact LD_LIBRARY_PATH, the exact location of one of the libraries and the matching output from LDD.

    in reply to: nrf51 hardware registers #7105
    support
    Keymaster

    Hi,

    Can you confirm that the only missing registers are the second/third instances of some peripherals (e.g. TIMER1, TIMER2 are missing while TIMER0 is OK)? Looks like the Nordic SVD files are using an undocumented extension for those devices, so we should be able to update our SVD parser and fix this globally.

    in reply to: gdbstub not starting #7104
    support
    Keymaster

    Hi,

    Looks like there is some bug with stepping over instructions. We’ll follow up with Espressif on that and see if they could provide a solution.

    Have you connected the nRST pin with J-Link? When we tested it with ESP8266, it did not start roughly 1 time out of 10, but worked 90% of the time. Please also try lowering the JTAG speed and experimenting with the “Reset mode” setting.

    Regarding baud rates, this looks like a typo. The 115200 baud rate is the bootloader baud rate that indeed uses autobaud. Please also try changing the first one to 74880. We have updated the description and re-uploaded the toolchain. You can download the updated toolchain installer from http://gnutoolchains.com/esp8266.

Viewing 15 posts - 6,616 through 6,630 (of 7,728 total)