support

Forum Replies Created

Viewing 15 posts - 6,466 through 6,480 (of 7,731 total)
  • Author
    Posts
  • in reply to: STM32F4 with J-Link, device selection #7554
    support
    Keymaster

    Hi,

    Strange, we have never managed to reproduce that. Which version of the Segger software are you using?

    in reply to: Use constructor library on Raspberry Pi using VisualGDB : #7536
    support
    Keymaster

    Hi,

    Then we would recommend asking the camera vendor for a C++ project example showing how to use their library. You can then import that example into a VisualGDB project and step through it to understand how it works.

    in reply to: VisualGDB can't debug parts of a library #7535
    support
    Keymaster

    Hi,

    No worries, we’ll help you get it right.

    First of all, please use just the function name without brackets (e.g. TestFunc, not TestFunc()). Then if it does not help, run “nm <library name>” without grep to see if the library symbols can be viewed at all.

    If ‘nm’ does not provide reasonable output, you can also run “objdump -t <library name>” to list the symbols using another method.

    You can also run “stat <library name>” to see the modification time of the library. If you are using the old version you should clearly see it from the modification time.

    Remember, your code inside the library must actually call the TestFunc(), as otherwise it will be discarded by the linker as an unused function.”

    If nothing helps, please share the output of the nm and objdump commands here.

    in reply to: LIBSSH2_ERROR_SOCKET_SEND during deploy #7534
    support
    Keymaster

    Hi,

    This error means that the SSH server simply drops the connection. The only way to diagnose this is to reproduce it on a simpler setup (1 machine, 1 project) and experiment with the SSH server settings to see what causes the error. Perhaps deploying a large file or trying to deploy several files sequentially causes the problem.

    in reply to: Launch failed when flashing without debugging #7533
    support
    Keymaster

    Hi,

    Thanks, we have reproduced and fixed it in the upcoming Beta 1 (after Preview 2). As a workaround, please use the Debug->Program without debugging command.

    in reply to: ESP8266 SDK update, context switching #7532
    support
    Keymaster

    Hi,

    You should be able to replace the contents of the <SysGCC>\esp8266\esp8266-bsp\RTOS-SDK folder with the new RTOS SDK in order to update it.

    As for the context switching, preventing it may interfere with some internal logic of the ESP8266 drivers, so we would not recommend doing that. To be 100% sure, we would recommend asking he Espressif support, as they have developed the SDK and should know the exact answer.

    in reply to: CLang autocomplet… #7531
    support
    Keymaster

    Hi,

    Not sure which exact setting you mean, but we have added a button to VisualGDB 5.1 Preview 2 that controls whether the code completion popup appears when you press Ctrl-Space or automatically when you start typing.

    Simply use the leftmost button with the lightning icon in the completion popup to switch this mode.

    in reply to: STM32F4 with J-Link, device selection #7530
    support
    Keymaster

    Hi,

    Normally you can select the device in VisualGDB Project Properties -> Debug settings. Then VisualGDB will remember it and pass it to the Segger tool so it won’t ask it each time.

    Let us know if this does not work.

    in reply to: mbed library #7529
    support
    Keymaster

    Hi,

    Thanks for reporting this, looks like the nRF51 port of mbed expects you to program the softdevice separately. We have published a detailed tutorial showing how to edit the linker script to embed the softdevice in your project just like VisualGDB does normally: http://visualgdb.com/tutorials/arm/mbed/nrf51/

    As for nRF52, we will happily support it once mbed officially supports it. If there is an unofficial port already, you can run our open-source mbed BSP generator on it and import the resulting BSP into VisualGDB.

    support
    Keymaster

    Hi,

    OK, please try the latest VisualGDB 5.1 Preview 2. You can tell it that a type A is an alias for type B by adding a .natvis file to your project with the following contents:

    <?xml version="1.0" encoding="utf-8"?>
    <AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
      <Type Name="std::vector&lt;int&gt;">
        <AlternativeType Name="IntVector"/>
      </Type>
    </AutoVisualizer>

    Note that the Type element should not contain any elements other than AlternativeType, otherwise instead of using the normal STL visualizers VisualGDB will actually follow the Natvis rules defined in the .natvis file.

    in reply to: mbed library #7523
    support
    Keymaster

    Hi,

    OK, folks, we have added mbed support to VisualGDB.

    Please try the newest 5.1 Preview 2.

    A detailed tutorial is here: http://visualgdb.com/tutorials/arm/mbed/

    in reply to: STM32 Memory Problem #7519
    support
    Keymaster

    Hi,

    Perhaps some of the data gets overwritten? Please try setting a breakpoint right after initializing them with zero and use the Watch window to check whether they actually contain zeros. If not, check that those variables actually fit in the RAM area of your device. If yes, try setting a data breakpoint on one of them to see what code modifies it.

    in reply to: Use constructor library on Raspberry Pi using VisualGDB : #7518
    support
    Keymaster

    Hi,

    Not sure what do you mean by the constructor library, but we actually have a tutorial showing how to access Raspberry Pi camera from your VisualGDB projects: http://visualgdb.com/tutorials/raspberry/camera/

    And another one with OpenCV: http://visualgdb.com/tutorials/raspberry/opencv/camera/

    Consider following those to get basic understanding of using external libraries with VisualGDB.

    in reply to: VisualGDB Makefile configuration problem #7517
    support
    Keymaster

    Hi,

    Thanks for reporting this, we have fixed it in the upcoming Preview 2.

    in reply to: Error List Sort Order #7516
    support
    Keymaster

    According to this thread, it looks like this is no longer possible in VS2015. Consider leaving feedback there so the VS guys could consider fixing this.

Viewing 15 posts - 6,466 through 6,480 (of 7,731 total)